Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server interface { // Start is used to start the server Start(ctx context.Context) error // Stop is used to stop the server Stop(ctx context.Context) error // Restart is used to restart the server Restart(ctx context.Context) error // IsRunning return true if the server is currently running IsRunning() bool //Uptime return the duration since last launch Uptime() time.Duration }
type WaitNotify ¶
Click to show internal directories.
Click to hide internal directories.