greetings

package
v0.0.0-...-95df8b3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package greetings is a generated protocol buffer package.

It is generated from these files:

greetings/greetings.proto

It has these top-level messages:

MsgRequest
MsgResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGreetingsServiceServer

func RegisterGreetingsServiceServer(s *grpc.Server, srv GreetingsServiceServer)

Types

type GreetingsServiceClient

type GreetingsServiceClient interface {
	Talk(ctx context.Context, opts ...grpc.CallOption) (GreetingsService_TalkClient, error)
}

func NewGreetingsServiceClient

func NewGreetingsServiceClient(cc *grpc.ClientConn) GreetingsServiceClient

type GreetingsServiceServer

type GreetingsServiceServer interface {
	Talk(GreetingsService_TalkServer) error
}

type GreetingsService_TalkClient

type GreetingsService_TalkClient interface {
	Send(*MsgRequest) error
	Recv() (*MsgResponse, error)
	grpc.ClientStream
}

type GreetingsService_TalkServer

type GreetingsService_TalkServer interface {
	Send(*MsgResponse) error
	Recv() (*MsgRequest, error)
	grpc.ServerStream
}

type MsgRequest

type MsgRequest struct {
	Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
}

func (*MsgRequest) Descriptor

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

func (*MsgRequest) ProtoMessage

func (*MsgRequest) ProtoMessage()

func (*MsgRequest) Reset

func (m *MsgRequest) Reset()

func (*MsgRequest) String

func (m *MsgRequest) String() string

type MsgResponse

type MsgResponse struct {
	Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
}

func (*MsgResponse) Descriptor

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

func (*MsgResponse) ProtoMessage

func (*MsgResponse) ProtoMessage()

func (*MsgResponse) Reset

func (m *MsgResponse) Reset()

func (*MsgResponse) String

func (m *MsgResponse) String() string

Jump to

Keyboard shortcuts

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