2021-07-05 16:26:57 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
2021-07-16 00:41:10 +03:00
|
|
|
// protoc-gen-go-micro version: v3.4.2
|
2021-07-05 16:26:57 +03:00
|
|
|
// source: test.proto
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
|
|
|
api "github.com/unistack-org/micro/v3/api"
|
|
|
|
client "github.com/unistack-org/micro/v3/client"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2021-07-16 00:41:10 +03:00
|
|
|
TestServiceName = "TestService"
|
|
|
|
|
2021-07-05 16:26:57 +03:00
|
|
|
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
|
|
|
|
}
|