Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthChecker ¶
Types ¶
type Server ¶
type Server interface {
/**
* Starts the HTTP and gRPC servers. This should be done after
* all endpoints have been registered through 'AddHttpEndpoint'
* and 'GrpcServer'.
*/
Start()
/**
* Returns the root of the stats tree for the server
*/
Scope() stats.Scope
/**
* Add an HTTP endpoint to the local debug port.
*/
AddDebugHttpEndpoint(path string, help string, handler http.HandlerFunc)
/**
* Returns the embedded gRPC server to be used for registering gRPC endpoints.
*/
GrpcServer() *grpc.Server
/**
* Returns the runtime configuration for the server.
*/
Runtime() loader.IFace
}
Click to show internal directories.
Click to hide internal directories.