2021-06-30 17:53:06 +03:00
|
|
|
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
2023-01-07 19:16:48 +03:00
|
|
|
// versions:
|
|
|
|
// - protoc-gen-go-micro v3.5.3
|
|
|
|
// - protoc v3.21.12
|
2021-03-22 00:18:41 +03:00
|
|
|
// source: test.proto
|
2021-06-30 17:53:06 +03:00
|
|
|
|
2021-03-22 00:18:41 +03:00
|
|
|
package pb
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
2021-10-27 01:24:35 +03:00
|
|
|
api "go.unistack.org/micro/v3/api"
|
|
|
|
client "go.unistack.org/micro/v3/client"
|
|
|
|
codec "go.unistack.org/micro/v3/codec"
|
2021-03-22 00:18:41 +03:00
|
|
|
)
|
|
|
|
|
2021-06-30 17:53:06 +03:00
|
|
|
var (
|
2021-07-16 00:41:10 +03:00
|
|
|
TestName = "Test"
|
|
|
|
|
2021-06-30 17:53:06 +03:00
|
|
|
TestEndpoints = []api.Endpoint{}
|
|
|
|
)
|
|
|
|
|
|
|
|
func NewTestEndpoints() []api.Endpoint {
|
|
|
|
return TestEndpoints
|
2021-03-22 00:18:41 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
type TestClient interface {
|
|
|
|
Call(ctx context.Context, req *codec.Frame, opts ...client.CallOption) (*codec.Frame, error)
|
|
|
|
}
|
|
|
|
|
|
|
|
type TestServer interface {
|
|
|
|
Call(ctx context.Context, req *codec.Frame, rsp *codec.Frame) error
|
|
|
|
}
|