2021-07-05 16:26:57 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
2021-10-27 01:24:35 +03:00
|
|
|
// protoc-gen-go-micro version: v3.5.3
|
2021-07-05 16:26:57 +03:00
|
|
|
// source: test.proto
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2022-01-24 22:44:26 +03:00
|
|
|
|
2021-10-27 01:24:35 +03:00
|
|
|
api "go.unistack.org/micro/v3/api"
|
|
|
|
client "go.unistack.org/micro/v3/client"
|
2021-07-05 16:26:57 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|