33 lines
671 B
Go
33 lines
671 B
Go
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-micro v3.5.3
|
|
// - protoc v3.21.12
|
|
// source: test.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
context "context"
|
|
api "go.unistack.org/micro/v3/api"
|
|
client "go.unistack.org/micro/v3/client"
|
|
codec "go.unistack.org/micro/v3/codec"
|
|
)
|
|
|
|
var (
|
|
TestName = "Test"
|
|
|
|
TestEndpoints = []api.Endpoint{}
|
|
)
|
|
|
|
func NewTestEndpoints() []api.Endpoint {
|
|
return TestEndpoints
|
|
}
|
|
|
|
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
|
|
}
|