Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface {
// Launche starts the API server and unblocks as soon as the server
// is running
Launch() error
// Shutdown instructs the server to shut down gracefully and blocks until
// the server is shut down
Shutdown(context.Context) error
// AwaitShutdown blocks until the server is shut down
AwaitShutdown()
}
Server interfaces an API server implementation
Source Files
¶
Click to show internal directories.
Click to hide internal directories.