Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HealthServiceName = "HealthService"
)
View Source
var ( HealthServiceServerEndpoints = []v3.EndpointMetadata{ { Name: "HealthService.Live", Path: "/live", Method: "GET", Body: "", Stream: false, }, { Name: "HealthService.Ready", Path: "/ready", Method: "GET", Body: "", Stream: false, }, { Name: "HealthService.Version", Path: "/version", Method: "GET", Body: "", Stream: false, }, } )
Functions ¶
func RegisterHealthServiceServer ¶
func RegisterHealthServiceServer(s server.Server, sh HealthServiceServer, opts ...server.HandlerOption) error
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
type HealthServiceClient ¶ added in v3.10.31
type HealthServiceClient interface { Live(ctx context.Context, req *codec.Frame, opts ...client.CallOption) (*codec.Frame, error) Ready(ctx context.Context, req *codec.Frame, opts ...client.CallOption) (*codec.Frame, error) Version(ctx context.Context, req *codec.Frame, opts ...client.CallOption) (*codec.Frame, error) }
func NewHealthServiceClient ¶ added in v3.10.31
func NewHealthServiceClient(name string, c client.Client) HealthServiceClient
type HealthServiceServer ¶
Click to show internal directories.
Click to hide internal directories.