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 ¶
- Variables
- func BuildEchoYARPCProcedures(server EchoYARPCServer) []transport.Procedure
- func BuildOnewayYARPCProcedures(server OnewayYARPCServer) []transport.Procedure
- func RegisterEchoServer(s *grpc.Server, srv EchoServer)
- func RegisterOnewayServer(s *grpc.Server, srv OnewayServer)
- type EchoClient
- type EchoServer
- type EchoYARPCClient
- type EchoYARPCServer
- type OnewayClient
- type OnewayServer
- type OnewayYARPCClient
- type OnewayYARPCServer
- type Ping
- func (*Ping) Descriptor() ([]byte, []int)
- func (this *Ping) Equal(that interface{}) bool
- func (m *Ping) GetBeep() string
- func (this *Ping) GoString() string
- func (m *Ping) Marshal() (dAtA []byte, err error)
- func (m *Ping) MarshalTo(dAtA []byte) (int, error)
- func (*Ping) ProtoMessage()
- func (m *Ping) Reset()
- func (m *Ping) Size() (n int)
- func (this *Ping) String() string
- func (m *Ping) Unmarshal(dAtA []byte) error
- type Pong
- func (*Pong) Descriptor() ([]byte, []int)
- func (this *Pong) Equal(that interface{}) bool
- func (m *Pong) GetBoop() string
- func (this *Pong) GoString() string
- func (m *Pong) Marshal() (dAtA []byte, err error)
- func (m *Pong) MarshalTo(dAtA []byte) (int, error)
- func (*Pong) ProtoMessage()
- func (m *Pong) Reset()
- func (m *Pong) Size() (n int)
- func (this *Pong) String() string
- func (m *Pong) Unmarshal(dAtA []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (this *Token) Equal(that interface{}) bool
- func (m *Token) GetValue() string
- func (this *Token) GoString() string
- func (m *Token) Marshal() (dAtA []byte, err error)
- func (m *Token) MarshalTo(dAtA []byte) (int, error)
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) Size() (n int)
- func (this *Token) String() string
- func (m *Token) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
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 EchoYARPCClient ¶ added in v1.10.0
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
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 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
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) ProtoMessage ¶
func (*Ping) ProtoMessage()
type Pong ¶
type Pong struct {
Boop string `protobuf:"bytes,1,opt,name=boop,proto3" json:"boop,omitempty"`
}
func (*Pong) Descriptor ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
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) ProtoMessage ¶ added in v1.9.0
func (*Token) ProtoMessage()