32 lines
883 B
Go
32 lines
883 B
Go
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-micro v3.10.2
|
|
// - protoc v3.21.12
|
|
// source: service.proto
|
|
|
|
package servicepb
|
|
|
|
import (
|
|
context "context"
|
|
proto "go.unistack.org/micro-config-service/v3/proto"
|
|
v3 "go.unistack.org/micro-server-http/v3"
|
|
client "go.unistack.org/micro/v3/client"
|
|
)
|
|
|
|
var (
|
|
ConfigName = "Config"
|
|
)
|
|
var (
|
|
ConfigServerEndpoints = []v3.EndpointMetadata{}
|
|
)
|
|
|
|
type ConfigClient interface {
|
|
Load(ctx context.Context, req *proto.LoadRequest, opts ...client.CallOption) (*proto.LoadResponse, error)
|
|
Save(ctx context.Context, req *proto.SaveRequest, opts ...client.CallOption) (*proto.SaveResponse, error)
|
|
}
|
|
|
|
type ConfigServer interface {
|
|
Load(ctx context.Context, req *proto.LoadRequest, rsp *proto.LoadResponse) error
|
|
Save(ctx context.Context, req *proto.SaveRequest, rsp *proto.SaveResponse) error
|
|
}
|