2021-10-26 23:32:16 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
2023-03-15 01:17:29 +03:00
|
|
|
// versions:
|
2023-05-05 20:06:27 +03:00
|
|
|
// - protoc-gen-go-micro v4.0.0
|
2023-03-15 01:17:29 +03:00
|
|
|
// - protoc v3.21.12
|
2021-03-22 08:59:52 +03:00
|
|
|
// source: service.proto
|
2021-10-26 23:32:16 +03:00
|
|
|
|
2021-05-09 18:47:50 +03:00
|
|
|
package servicepb
|
2021-03-22 08:59:52 +03:00
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2023-05-05 20:06:27 +03:00
|
|
|
proto "go.unistack.org/micro-config-service/v4/proto"
|
|
|
|
v4 "go.unistack.org/micro-server-http/v4"
|
|
|
|
client "go.unistack.org/micro/v4/client"
|
2021-10-26 23:32:16 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2023-05-05 20:06:27 +03:00
|
|
|
ConfigServiceName = "ConfigService"
|
2021-03-22 08:59:52 +03:00
|
|
|
)
|
2023-03-15 01:17:29 +03:00
|
|
|
var (
|
2023-05-05 20:06:27 +03:00
|
|
|
ConfigServiceServerEndpoints = []v4.EndpointMetadata{}
|
2023-03-15 01:17:29 +03:00
|
|
|
)
|
2021-03-22 08:59:52 +03:00
|
|
|
|
2023-05-05 20:06:27 +03:00
|
|
|
type ConfigServiceClient interface {
|
2021-03-22 08:59:52 +03:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-05-05 20:06:27 +03:00
|
|
|
type ConfigServiceServer interface {
|
2021-03-22 08:59:52 +03:00
|
|
|
Load(ctx context.Context, req *proto.LoadRequest, rsp *proto.LoadResponse) error
|
|
|
|
Save(ctx context.Context, req *proto.SaveRequest, rsp *proto.SaveResponse) error
|
|
|
|
}
|