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 ¶
- Variables
- func BuildEchoYarpcProcedures(server EchoYarpcServer) []transport.Procedure
- func RegisterEchoServer(s *grpc.Server, srv EchoServer)
- type EchoClient
- type EchoServer
- type EchoYarpcClient
- type EchoYarpcServer
- 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
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 EchoYarpcClient ¶
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 ¶
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) 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()
Click to show internal directories.
Click to hide internal directories.