message

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package message is a generated protocol buffer package.

It is generated from these files:

message.proto

It has these top-level messages:

Msg

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMessageServiceServer

func RegisterMessageServiceServer(s *grpc.Server, srv MessageServiceServer)

Types

type MessageServiceClient

type MessageServiceClient interface {
	Message(ctx context.Context, opts ...grpc.CallOption) (MessageService_MessageClient, error)
}

func NewMessageServiceClient

func NewMessageServiceClient(cc *grpc.ClientConn) MessageServiceClient

type MessageServiceServer

type MessageServiceServer interface {
	Message(MessageService_MessageServer) error
}

type MessageService_MessageClient

type MessageService_MessageClient interface {
	Send(*Msg) error
	Recv() (*Msg, error)
	grpc.ClientStream
}

type MessageService_MessageServer

type MessageService_MessageServer interface {
	Send(*Msg) error
	Recv() (*Msg, error)
	grpc.ServerStream
}

type Msg

type Msg struct {
	Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Msg) Descriptor

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

func (*Msg) GetData

func (m *Msg) GetData() []byte

func (*Msg) GetType

func (m *Msg) GetType() string

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) Reset

func (m *Msg) Reset()

func (*Msg) String

func (m *Msg) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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