micro-tests/client/drpc/proto/test_micro.pb.go

34 lines
813 B
Go
Raw Normal View History

// Code generated by protoc-gen-go-micro. DO NOT EDIT.
// versions:
// - protoc-gen-go-micro v3.5.3
// - protoc v3.21.12
// source: test.proto
package pb
import (
context "context"
api "go.unistack.org/micro/v3/api"
client "go.unistack.org/micro/v3/client"
)
var (
TestServiceName = "TestService"
TestServiceEndpoints = []api.Endpoint{}
)
func NewTestServiceEndpoints() []api.Endpoint {
return TestServiceEndpoints
}
type TestServiceClient interface {
Call(ctx context.Context, req *CallReq, opts ...client.CallOption) (*CallRsp, error)
Hello(ctx context.Context, req *CallReq, opts ...client.CallOption) (*CallRsp, error)
}
type TestServiceServer interface {
Call(ctx context.Context, req *CallReq, rsp *CallRsp) error
Hello(ctx context.Context, req *CallReq, rsp *CallRsp) error
}