Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HealthName = "Health" HealthEndpoints = []api.Endpoint{ { Name: "Health.Live", Path: []string{"/live"}, Method: []string{"GET"}, Handler: "rpc", }, { Name: "Health.Ready", Path: []string{"/ready"}, Method: []string{"GET"}, Handler: "rpc", }, { Name: "Health.Version", Path: []string{"/version"}, Method: []string{"GET"}, Handler: "rpc", }, } )
Functions ¶
func NewHealthEndpoints ¶
func RegisterHealthServer ¶
func RegisterHealthServer(s server.Server, sh HealthServer, opts ...server.HandlerOption) error
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
type HealthServer ¶
Click to show internal directories.
Click to hide internal directories.