Event bus
General
{{with $.PublishQueue}} {{len .}} pending {{end}}
Monitor all events
Clients
Name
Publishing
Subscribing
Pending
{{range .Clients}}
{{.Name}}
{{range .Publish}}
{{.}}
{{end}}
{{range .Subscribe}}
{{.}}
{{end}}
{{len ($.SubscribeQueue .Client)}}
{{end}}
Types
{{range .Types}}
{{.Name}}
Definition
{{prettyPrintStruct .}}
Published by:
{{if len (.Publish)}}
{{range .Publish}}
{{.Name}}
{{end}}
{{else}}
No publishers.
{{end}}
Received by:
{{if len (.Subscribe)}}
{{range .Subscribe}}
{{.Name}}
{{end}}
{{else}}
No subscribers.
{{end}}
{{end}}