Documentation ¶ Index ¶ func RunInternalAgent(ctx context.Context, app http.Handler, token string, cfg *config.Agent) <-chan error func Serve(ctx context.Context, cfg *config.Dispatcher) error type MgoLogger func (m *MgoLogger) Output(calldepth int, s string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RunInternalAgent ¶ func RunInternalAgent(ctx context.Context, app http.Handler, token string, cfg *config.Agent) <-chan error Run agent inside current process Start httptest local server func Serve ¶ func Serve(ctx context.Context, cfg *config.Dispatcher) error Types ¶ type MgoLogger ¶ type MgoLogger struct { } func (*MgoLogger) Output ¶ func (m *MgoLogger) Output(calldepth int, s string) error Source Files ¶ View all Source files dispatcher.go helpers.go internal_agent.go Click to show internal directories. Click to hide internal directories.