crossdockpb

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package crossdockpb is a generated protocol buffer package.

It is generated from these files:

internal/crossdock/crossdockpb/crossdock.proto

It has these top-level messages:

Ping
Pong

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCrossdock = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCrossdock   = fmt.Errorf("proto: integer overflow")
)

Functions

func BuildEchoYarpcProcedures

func BuildEchoYarpcProcedures(server EchoYarpcServer) []transport.Procedure

BuildEchoYarpcProcedures prepares an implementation of the Echo service for yarpc registration.

func RegisterEchoServer

func RegisterEchoServer(s *grpc.Server, srv EchoServer)

Types

type EchoClient

type EchoClient interface {
	Echo(ctx context.Context, in *Ping, opts ...grpc.CallOption) (*Pong, error)
}

func NewEchoClient

func NewEchoClient(cc *grpc.ClientConn) EchoClient

type EchoServer

type EchoServer interface {
	Echo(context.Context, *Ping) (*Pong, error)
}

type EchoYarpcClient

type EchoYarpcClient interface {
	Echo(context.Context, *Ping, ...yarpc.CallOption) (*Pong, error)
}

EchoYarpcClient is the yarpc client-side interface for the Echo service.

func NewEchoYarpcClient

func NewEchoYarpcClient(clientConfig transport.ClientConfig) EchoYarpcClient

NewEchoYarpcClient builds a new yarpc client for the Echo service.

type EchoYarpcServer

type EchoYarpcServer interface {
	Echo(context.Context, *Ping) (*Pong, error)
}

EchoYarpcServer is the yarpc server-side interface for the Echo service.

type Ping

type Ping struct {
	Beep string `protobuf:"bytes,1,opt,name=beep,proto3" json:"beep,omitempty"`
}

func (*Ping) Descriptor

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

func (*Ping) Equal

func (this *Ping) Equal(that interface{}) bool

func (*Ping) GetBeep

func (m *Ping) GetBeep() string

func (*Ping) GoString

func (this *Ping) GoString() string

func (*Ping) Marshal

func (m *Ping) Marshal() (dAtA []byte, err error)

func (*Ping) MarshalTo

func (m *Ping) MarshalTo(dAtA []byte) (int, error)

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) Reset

func (m *Ping) Reset()

func (*Ping) Size

func (m *Ping) Size() (n int)

func (*Ping) String

func (this *Ping) String() string

func (*Ping) Unmarshal

func (m *Ping) Unmarshal(dAtA []byte) error

type Pong

type Pong struct {
	Boop string `protobuf:"bytes,1,opt,name=boop,proto3" json:"boop,omitempty"`
}

func (*Pong) Descriptor

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

func (*Pong) Equal

func (this *Pong) Equal(that interface{}) bool

func (*Pong) GetBoop

func (m *Pong) GetBoop() string

func (*Pong) GoString

func (this *Pong) GoString() string

func (*Pong) Marshal

func (m *Pong) Marshal() (dAtA []byte, err error)

func (*Pong) MarshalTo

func (m *Pong) MarshalTo(dAtA []byte) (int, error)

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) Reset

func (m *Pong) Reset()

func (*Pong) Size

func (m *Pong) Size() (n int)

func (*Pong) String

func (this *Pong) String() string

func (*Pong) Unmarshal

func (m *Pong) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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