Documentation ¶
Overview ¶
Package operatortesting is a generated protocol buffer package.
It is generated from these files:
testing/testing.proto
It has these top-level messages:
PingRequest
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPingerServer ¶
func RegisterPingerServer(s *grpc.Server, srv PingerServer)
func RegisterPrivateServiceServer ¶
func RegisterPrivateServiceServer(s *grpc.Server, srv PrivateServiceServer)
Types ¶
type PingRequest ¶
type PingRequest struct {
Request *operator.Request `protobuf:"bytes,1,opt,name=request" json:"request,omitempty"`
}
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) GetRequest ¶
func (m *PingRequest) GetRequest() *operator.Request
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
type PingerClient ¶
type PingerClient interface { Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*operator.Response, error) PingPong(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*operator.Response, error) }
func NewPingerClient ¶
func NewPingerClient(cc *grpc.ClientConn) PingerClient
type PingerServer ¶
type PingerServer interface { Ping(context.Context, *PingRequest) (*operator.Response, error) PingPong(context.Context, *PingRequest) (*operator.Response, error) }
func NewServer ¶
func NewServer(replier operator.Sender) PingerServer
type PrivateServiceClient ¶
type PrivateServiceClient interface {
Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*operator.Response, error)
}
func NewPrivateServiceClient ¶
func NewPrivateServiceClient(cc *grpc.ClientConn) PrivateServiceClient
type PrivateServiceServer ¶
Click to show internal directories.
Click to hide internal directories.