Documentation ¶
Overview ¶
Package agent provides the utilities to implement long running command line application
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent interface { // Start starts the agent Start(ctx context.Context) error // Stop stops the agent Stop(ctx context.Context) error // IsRunning returns the agent is running or not IsRunning() bool }
Agent is an interface to implement an agent feature
Click to show internal directories.
Click to hide internal directories.