operatortesting

package
v0.0.0-...-707806d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2017 License: MIT Imports: 6 Imported by: 0

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

type PrivateServiceServer interface {
	Ping(context.Context, *PingRequest) (*operator.Response, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL