micro/server/health/health_micro.pb.go
Vasiliy Tolstov 56efccc4cf api: remove and regen
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-02-21 02:10:24 +03:00

40 lines
866 B
Go

// Code generated by protoc-gen-go-micro. DO NOT EDIT.
// versions:
// - protoc-gen-go-micro v3.5.3
// - protoc v3.21.12
// source: health.proto
package health
import (
context "context"
codec "go.unistack.org/micro/v3/codec"
http "net/http"
)
var (
HealthName = "Health"
)
var (
HealthServerEndpoints = map[string]map[string]string{
"/live": map[string]string{
"Method": http.MethodGet,
"Stream": "false",
},
"/ready": map[string]string{
"Method": http.MethodGet,
"Stream": "false",
},
"/version": map[string]string{
"Method": http.MethodGet,
"Stream": "false",
},
}
)
type HealthServer 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
}