2023-02-26 14:51:34 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
|
|
// versions:
|
2023-04-28 21:59:31 +03:00
|
|
|
// - protoc-gen-go-micro v4.10.2
|
|
|
|
// - protoc v4.21.12
|
2023-02-26 14:51:34 +03:00
|
|
|
// source: health.proto
|
|
|
|
|
|
|
|
package health
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2023-04-28 21:59:31 +03:00
|
|
|
codec "go.unistack.org/micro-proto/v4/codec"
|
|
|
|
v4 "go.unistack.org/micro-server-http/v4"
|
2023-02-26 14:51:34 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
HealthServiceName = "HealthService"
|
|
|
|
)
|
|
|
|
var (
|
2023-04-28 21:59:31 +03:00
|
|
|
HealthServiceServerEndpoints = []v4.EndpointMetadata{
|
2023-02-26 14:51:34 +03:00
|
|
|
{
|
|
|
|
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,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
type HealthServiceServer interface {
|
|
|
|
Live(ctx context.Context, req *codec.Frame, rsp *codec.Frame) error
|
|
|
|
Ready(ctx context.Context, req *codec.Frame, rsp *codec.Frame) error
|
|
|
|
Version(ctx context.Context, req *codec.Frame, rsp *codec.Frame) error
|
|
|
|
}
|