proto

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTestServer

func RegisterTestServer(s *grpc.Server, srv TestServer)

Types

type TestClient

type TestClient interface {
	Ping(ctx context.Context, in *Void, opts ...grpc.CallOption) (*Void, error)
}

TestClient is the client API for Test service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTestClient

func NewTestClient(cc *grpc.ClientConn) TestClient

type TestServer

type TestServer interface {
	Ping(context.Context, *Void) (*Void, error)
}

TestServer is the server API for Test service.

type Void

type Void struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Void) Descriptor

func (*Void) Descriptor() ([]byte, []int)

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) Reset

func (m *Void) Reset()

func (*Void) String

func (m *Void) String() string

func (*Void) XXX_DiscardUnknown added in v1.0.0

func (m *Void) XXX_DiscardUnknown()

func (*Void) XXX_Marshal added in v1.0.0

func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Void) XXX_Merge added in v1.0.0

func (dst *Void) XXX_Merge(src proto.Message)

func (*Void) XXX_Size added in v1.0.0

func (m *Void) XXX_Size() int

func (*Void) XXX_Unmarshal added in v1.0.0

func (m *Void) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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