loud

package
v0.0.0-...-baa52f3 Latest Latest
Warning

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

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

Documentation

Overview

Package loud is a generated protocol buffer package.

It is generated from these files:

dummy_message.proto
hello_message.proto
service.proto

It has these top-level messages:

DummyMessage
HelloMessage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLoudServer

func RegisterLoudServer(s *grpc.Server, srv LoudServer)

Types

type DummyMessage

type DummyMessage struct {
}

func (*DummyMessage) Descriptor

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

func (*DummyMessage) ProtoMessage

func (*DummyMessage) ProtoMessage()

func (*DummyMessage) Reset

func (m *DummyMessage) Reset()

func (*DummyMessage) String

func (m *DummyMessage) String() string

type HelloMessage

type HelloMessage struct {
	Origin  string `protobuf:"bytes,1,opt,name=origin" json:"origin,omitempty"`
	RpcPort int64  `protobuf:"varint,2,opt,name=rpc_port,json=rpcPort" json:"rpc_port,omitempty"`
}

func (*HelloMessage) Descriptor

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

func (*HelloMessage) ProtoMessage

func (*HelloMessage) ProtoMessage()

func (*HelloMessage) Reset

func (m *HelloMessage) Reset()

func (*HelloMessage) String

func (m *HelloMessage) String() string

type LoudClient

type LoudClient interface {
	Hello(ctx context.Context, in *HelloMessage, opts ...grpc.CallOption) (*DummyMessage, error)
	// rpc Handshake (HandshakeMessage) returns (HandshakeMessage) {}
	Dispatch(ctx context.Context, opts ...grpc.CallOption) (Loud_DispatchClient, error)
}

func NewLoudClient

func NewLoudClient(cc *grpc.ClientConn) LoudClient

type LoudServer

type LoudServer interface {
	Hello(context.Context, *HelloMessage) (*DummyMessage, error)
	// rpc Handshake (HandshakeMessage) returns (HandshakeMessage) {}
	Dispatch(Loud_DispatchServer) error
}

type Loud_DispatchClient

type Loud_DispatchClient interface {
	Send(*google_protobuf.Any) error
	Recv() (*google_protobuf.Any, error)
	grpc.ClientStream
}

type Loud_DispatchServer

type Loud_DispatchServer interface {
	Send(*google_protobuf.Any) error
	Recv() (*google_protobuf.Any, error)
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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