2021-10-28 00:36:45 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
2023-05-07 19:19:01 +03:00
|
|
|
// versions:
|
|
|
|
// - protoc-gen-go-micro v4.0.0
|
|
|
|
// - protoc v3.21.12
|
2021-03-22 09:48:12 +03:00
|
|
|
// source: service.proto
|
2021-10-28 00:36:45 +03:00
|
|
|
|
|
|
|
package servicepb
|
2021-03-22 09:48:12 +03:00
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2021-10-28 00:36:45 +03:00
|
|
|
proto "go.unistack.org/micro-logger-service/v3/proto"
|
2023-05-07 19:19:01 +03:00
|
|
|
v4 "go.unistack.org/micro-server-http/v4"
|
|
|
|
client "go.unistack.org/micro/v4/client"
|
2021-10-28 00:36:45 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
LoggerServiceName = "LoggerService"
|
2021-03-22 09:48:12 +03:00
|
|
|
)
|
2023-05-07 19:19:01 +03:00
|
|
|
var (
|
|
|
|
LoggerServiceServerEndpoints = []v4.EndpointMetadata{}
|
|
|
|
)
|
2021-03-22 09:48:12 +03:00
|
|
|
|
2021-10-28 00:36:45 +03:00
|
|
|
type LoggerServiceClient interface {
|
2022-03-13 11:34:39 +03:00
|
|
|
Log(ctx context.Context, req *proto.LogReq, opts ...client.CallOption) (*proto.LogRsp, error)
|
2021-03-22 09:48:12 +03:00
|
|
|
}
|
|
|
|
|
2021-10-28 00:36:45 +03:00
|
|
|
type LoggerServiceServer interface {
|
2022-03-13 11:34:39 +03:00
|
|
|
Log(ctx context.Context, req *proto.LogReq, rsp *proto.LogRsp) error
|
2021-03-22 09:48:12 +03:00
|
|
|
}
|