32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-micro v3.10.4
|
|
// - protoc v5.28.3
|
|
// source: health/health.proto
|
|
|
|
package health_handler
|
|
|
|
import (
|
|
context "context"
|
|
codec "go.unistack.org/micro-proto/v3/codec"
|
|
client "go.unistack.org/micro/v3/client"
|
|
)
|
|
|
|
var (
|
|
HealthServiceName = "HealthService"
|
|
)
|
|
|
|
type HealthServiceClient interface {
|
|
Healthy(ctx context.Context, req *codec.Frame, opts ...client.CallOption) (*codec.Frame, error)
|
|
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)
|
|
}
|
|
|
|
type HealthServiceServer interface {
|
|
Healthy(ctx context.Context, req *codec.Frame, rsp *codec.Frame) error
|
|
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
|
|
}
|