2021-08-16 18:57:19 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
2023-02-21 02:10:24 +03:00
|
|
|
// versions:
|
2023-02-22 00:09:52 +03:00
|
|
|
// - protoc-gen-go-micro v3.10.2
|
2023-02-21 02:10:24 +03:00
|
|
|
// - protoc v3.21.12
|
2021-03-28 19:17:08 +03:00
|
|
|
// source: health.proto
|
2021-08-16 18:57:19 +03:00
|
|
|
|
2021-03-28 19:28:01 +03:00
|
|
|
package health
|
2021-03-28 19:17:08 +03:00
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2023-02-22 00:09:52 +03:00
|
|
|
v3 "go.unistack.org/micro-server-http/v3"
|
2021-10-02 19:55:07 +03:00
|
|
|
codec "go.unistack.org/micro/v3/codec"
|
2021-03-28 19:17:08 +03:00
|
|
|
)
|
|
|
|
|
2021-08-16 18:57:19 +03:00
|
|
|
var (
|
2023-02-21 13:18:03 +03:00
|
|
|
HealthServiceName = "HealthService"
|
2023-02-21 02:10:24 +03:00
|
|
|
)
|
|
|
|
var (
|
2023-02-22 00:09:52 +03:00
|
|
|
HealthServiceServerEndpoints = []v3.EndpointMetadata{
|
|
|
|
{
|
|
|
|
Name: "HealthService.Live",
|
|
|
|
Path: "/live",
|
|
|
|
Method: "GET",
|
|
|
|
Body: "",
|
|
|
|
Stream: false,
|
2021-03-28 19:17:08 +03:00
|
|
|
},
|
2023-02-22 00:09:52 +03:00
|
|
|
{
|
|
|
|
Name: "HealthService.Ready",
|
|
|
|
Path: "/ready",
|
|
|
|
Method: "GET",
|
|
|
|
Body: "",
|
|
|
|
Stream: false,
|
2021-03-28 19:17:08 +03:00
|
|
|
},
|
2023-02-22 00:09:52 +03:00
|
|
|
{
|
|
|
|
Name: "HealthService.Version",
|
|
|
|
Path: "/version",
|
|
|
|
Method: "GET",
|
|
|
|
Body: "",
|
|
|
|
Stream: false,
|
2021-03-28 19:17:08 +03:00
|
|
|
},
|
|
|
|
}
|
2021-08-16 18:57:19 +03:00
|
|
|
)
|
|
|
|
|
2023-02-21 13:18:03 +03:00
|
|
|
type HealthServiceServer interface {
|
2021-03-28 19:17:08 +03:00
|
|
|
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
|
|
|
|
}
|