micro-tests/codec/segmentio/proto/test_micro.pb.go

30 lines
593 B
Go
Raw Normal View History

// Code generated by protoc-gen-go-micro. DO NOT EDIT.
// protoc-gen-go-micro version: v3.4.2
// source: test.proto
package pb
import (
context "context"
api "github.com/unistack-org/micro/v3/api"
client "github.com/unistack-org/micro/v3/client"
)
var (
TestName = "Test"
TestEndpoints = []api.Endpoint{}
)
func NewTestEndpoints() []api.Endpoint {
return TestEndpoints
}
type TestClient interface {
Call(ctx context.Context, req *Request, opts ...client.CallOption) (*Response, error)
}
type TestServer interface {
Call(ctx context.Context, req *Request, rsp *Response) error
}