Documentation ¶ Index ¶ type Agent func New(ctx context.Context, cfg *config.Config) Agent type Signal Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Agent ¶ type Agent interface { // Start does all things necessary to start an agent Start() func() error // Stop is doing all things necessary to nicely stop an agent Stop() error } Agent describes the interface to a Voskhod Agent func New ¶ func New(ctx context.Context, cfg *config.Config) Agent New is returning a new agent type Signal ¶ type Signal int Signal is the channel to control the Voskhod Agent Source Files ¶ View all Source files agent.goconst.godoc.gotype.go Click to show internal directories. Click to hide internal directories.