2022-03-21 13:08:38 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
2023-01-07 19:16:48 +03:00
|
|
|
// versions:
|
2023-03-04 23:30:53 +03:00
|
|
|
// - protoc-gen-go-micro v3.10.2
|
2023-01-07 19:16:48 +03:00
|
|
|
// - protoc v3.21.12
|
2023-03-04 23:30:53 +03:00
|
|
|
// source: proto.proto
|
2022-03-21 13:08:38 +03:00
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2023-02-22 00:12:01 +03:00
|
|
|
v3 "go.unistack.org/micro-server-http/v3"
|
2022-03-21 13:08:38 +03:00
|
|
|
proto "go.unistack.org/micro-tests/server/combo/proto"
|
|
|
|
client "go.unistack.org/micro/v3/client"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
TestName = "Test"
|
2023-02-22 00:12:01 +03:00
|
|
|
)
|
|
|
|
var (
|
|
|
|
TestServerEndpoints = []v3.EndpointMetadata{
|
2022-03-21 13:08:38 +03:00
|
|
|
{
|
2023-02-22 00:12:01 +03:00
|
|
|
Name: "Test.Call",
|
2023-03-04 23:30:53 +03:00
|
|
|
Path: "/Call",
|
2023-02-22 00:12:01 +03:00
|
|
|
Method: "POST",
|
|
|
|
Body: "*",
|
|
|
|
Stream: false,
|
2022-03-21 13:08:38 +03:00
|
|
|
},
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
type TestClient interface {
|
|
|
|
Call(ctx context.Context, req *proto.CallReq, opts ...client.CallOption) (*proto.CallRsp, error)
|
|
|
|
}
|
|
|
|
|
|
|
|
type TestServer interface {
|
|
|
|
Call(ctx context.Context, req *proto.CallReq, rsp *proto.CallRsp) error
|
|
|
|
}
|