Documentation
¶
Overview ¶
Package dashboard mounts the nexus introspection surface under /__nexus. Ships a Vue dashboard (embedded from ui/dist), a JSON registry listing, and a WebSocket event stream.
Index ¶
Constants ¶
View Source
const Prefix = "/__nexus"
Variables ¶
This section is empty.
Functions ¶
func Mount ¶
Mount attaches:
GET /__nexus/config -> Config JSON GET /__nexus/endpoints -> services + endpoints from the registry GET /__nexus/events -> WebSocket: backlog (since=N) then live trace events GET /__nexus/, /assets/* -> embedded Vue dashboard
The events endpoint is only mounted if bus != nil.
Types ¶
Click to show internal directories.
Click to hide internal directories.