Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObserverServer ¶
type ObserverServer interface { Start() error Close() Monitors() dependents.MonitorDependentsManager GetAddr() string GetKey() string SetPushFirst(f func(ctx context.Context, req *msaObserver.RequestPushFirst) (*msaObserver.ResponsePushFirst, error)) SetPushStats(f func(ctx context.Context, req *msaObserver.RequestPushStats) (*msaObserver.Response, error)) SetPushStatus(f func(ctx context.Context, req *msaObserver.RequestPushStatus) (*msaObserver.Response, error)) SetWho(f func(ctx context.Context, req *msaObserver.RequestWho) (*msaObserver.ResponseWho, error)) SetRestartService(f func(ctx context.Context, req *msaObserver.RequestRestartService) (*msaObserver.Response, error)) }
func NewObserverServer ¶
func NewObserverServer(key, addr string) ObserverServer
Click to show internal directories.
Click to hide internal directories.