Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scope ¶
type Scope struct {
// contains filtered or unexported fields
}
Scope manages the lifecycle of the event broker and internal gRPC server that exposes captured query events to TUI clients.
func (*Scope) Err ¶
Err returns a channel that receives the server's exit error. It is nil if the server is still running.
func (*Scope) GenerateID ¶
GenerateID returns a unique sequential ID for a query event.
func (*Scope) Subscribe ¶
Subscribe returns a channel that receives published events and an unsubscribe function.
func (*Scope) SubscriberCount ¶
SubscriberCount returns the number of active Watch subscribers.
Click to show internal directories.
Click to hide internal directories.