43 lines
1.2 KiB
Go
43 lines
1.2 KiB
Go
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-micro v3.10.4
|
|
// - protoc v5.28.3
|
|
// source: test.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
context "context"
|
|
client "go.unistack.org/micro/v3/client"
|
|
)
|
|
|
|
var (
|
|
TestDoubleName = "TestDouble"
|
|
)
|
|
|
|
type TestDoubleClient interface {
|
|
CallDouble(ctx context.Context, req *CallReq, opts ...client.CallOption) (*CallRsp, error)
|
|
}
|
|
|
|
type TestDoubleServer interface {
|
|
CallDouble(ctx context.Context, req *CallReq, rsp *CallRsp) error
|
|
}
|
|
|
|
var (
|
|
TestName = "Test"
|
|
)
|
|
|
|
type TestClient interface {
|
|
CallRepeatedString(ctx context.Context, req *CallReq, opts ...client.CallOption) (*CallRsp, error)
|
|
CallRepeatedInt64(ctx context.Context, req *CallReq, opts ...client.CallOption) (*CallRsp, error)
|
|
Call(ctx context.Context, req *CallReq, opts ...client.CallOption) (*CallRsp, error)
|
|
CallError(ctx context.Context, req *CallReq1, opts ...client.CallOption) (*CallRsp1, error)
|
|
}
|
|
|
|
type TestServer interface {
|
|
CallRepeatedString(ctx context.Context, req *CallReq, rsp *CallRsp) error
|
|
CallRepeatedInt64(ctx context.Context, req *CallReq, rsp *CallRsp) error
|
|
Call(ctx context.Context, req *CallReq, rsp *CallRsp) error
|
|
CallError(ctx context.Context, req *CallReq1, rsp *CallRsp1) error
|
|
}
|