crossdockpb

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: MIT Imports: 13 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
Token

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 added in v1.10.0

func BuildEchoYARPCProcedures(server EchoYARPCServer) []transport.Procedure

BuildEchoYARPCProcedures prepares an implementation of the Echo service for YARPC registration.

func BuildOnewayYARPCProcedures added in v1.10.0

func BuildOnewayYARPCProcedures(server OnewayYARPCServer) []transport.Procedure

BuildOnewayYARPCProcedures prepares an implementation of the Oneway service for YARPC registration.

func RegisterEchoServer

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

func RegisterOnewayServer added in v1.9.0

func RegisterOnewayServer(s *grpc.Server, srv OnewayServer)

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 added in v1.10.0

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

EchoYARPCClient is the YARPC client-side interface for the Echo service.

func NewEchoYARPCClient added in v1.10.0

func NewEchoYARPCClient(clientConfig transport.ClientConfig, options ...protobuf.ClientOption) EchoYARPCClient

NewEchoYARPCClient builds a new YARPC client for the Echo service.

type EchoYARPCServer added in v1.10.0

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

EchoYARPCServer is the YARPC server-side interface for the Echo service.

type OnewayClient added in v1.9.0

type OnewayClient interface {
	Echo(ctx context.Context, in *Token, opts ...grpc.CallOption) (*uber_yarpc.Oneway, error)
}

func NewOnewayClient added in v1.9.0

func NewOnewayClient(cc *grpc.ClientConn) OnewayClient

type OnewayServer added in v1.9.0

type OnewayServer interface {
	Echo(context.Context, *Token) (*uber_yarpc.Oneway, error)
}

type OnewayYARPCClient added in v1.10.0

type OnewayYARPCClient interface {
	Echo(context.Context, *Token, ...yarpc.CallOption) (yarpc.Ack, error)
}

OnewayYARPCClient is the YARPC client-side interface for the Oneway service.

func NewOnewayYARPCClient added in v1.10.0

func NewOnewayYARPCClient(clientConfig transport.ClientConfig, options ...protobuf.ClientOption) OnewayYARPCClient

NewOnewayYARPCClient builds a new YARPC client for the Oneway service.

type OnewayYARPCServer added in v1.10.0

type OnewayYARPCServer interface {
	Echo(context.Context, *Token) error
}

OnewayYARPCServer is the YARPC server-side interface for the Oneway 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

type Token added in v1.9.0

type Token struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Token) Descriptor added in v1.9.0

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

func (*Token) Equal added in v1.9.0

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

func (*Token) GetValue added in v1.9.0

func (m *Token) GetValue() string

func (*Token) GoString added in v1.9.0

func (this *Token) GoString() string

func (*Token) Marshal added in v1.9.0

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

func (*Token) MarshalTo added in v1.9.0

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

func (*Token) ProtoMessage added in v1.9.0

func (*Token) ProtoMessage()

func (*Token) Reset added in v1.9.0

func (m *Token) Reset()

func (*Token) Size added in v1.9.0

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

func (*Token) String added in v1.9.0

func (this *Token) String() string

func (*Token) Unmarshal added in v1.9.0

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

Jump to

Keyboard shortcuts

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