2021-10-28 00:36:45 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
|
|
// protoc-gen-go-micro version: v3.5.3
|
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"
|
|
|
|
api "go.unistack.org/micro/v3/api"
|
|
|
|
client "go.unistack.org/micro/v3/client"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
LoggerServiceName = "LoggerService"
|
|
|
|
|
|
|
|
LoggerServiceEndpoints = []api.Endpoint{}
|
2021-03-22 09:48:12 +03:00
|
|
|
)
|
|
|
|
|
2021-10-28 00:36:45 +03:00
|
|
|
func NewLoggerServiceEndpoints() []api.Endpoint {
|
|
|
|
return LoggerServiceEndpoints
|
2021-03-22 09:48:12 +03:00
|
|
|
}
|
|
|
|
|
2021-10-28 00:36:45 +03:00
|
|
|
type LoggerServiceClient interface {
|
2021-03-22 09:48:12 +03:00
|
|
|
Log(ctx context.Context, req *proto.Message, opts ...client.CallOption) (*proto.Empty, error)
|
|
|
|
}
|
|
|
|
|
2021-10-28 00:36:45 +03:00
|
|
|
type LoggerServiceServer interface {
|
2021-03-22 09:48:12 +03:00
|
|
|
Log(ctx context.Context, req *proto.Message, rsp *proto.Empty) error
|
|
|
|
}
|