Documentation
¶
Overview ¶
Package app - application entry points
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface {
/*
Start the server and its components
@param ctx context.Context - execution context
@param serverErrors chan error - channel used to broadcast a fatal runtime
failure (e.g. one of the HTTP servers failing on ListenAndServe) back to
the caller so it can trigger shutdown
*/
Start(ctx context.Context, serverErrors chan error) error
/*
Stop shutdown the server and its components
@param ctx context.Context - execution context
*/
Stop(ctx context.Context) error
}
Server REST PTY server
func BuildNewServer ¶
BuildNewServer build new REST PTY server
@param parentCtx context.Context - parent execution context for all running tasks @param configs models.ApplicationConfig - server config @returns new server
Click to show internal directories.
Click to hide internal directories.