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 ¶
func BuildEchoYarpcProcedures(server EchoYarpcServer) []transport.Procedure
BuildEchoYarpcProcedures prepares an implementation of the Echo service for yarpc registration.
func BuildOnewayYarpcProcedures ¶ added in v1.9.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 ¶
EchoYarpcClient is the yarpc client-side interface for the Echo service.
func NewEchoYarpcClient ¶
func NewEchoYarpcClient(clientConfig transport.ClientConfig, options ...protobuf.ClientOption) EchoYarpcClient
NewEchoYarpcClient builds a new yarpc client for the Echo service.
type EchoYarpcServer ¶
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.9.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.9.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.9.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()