Documentation ¶
Overview ¶
Package integration holds integration tests for drpc.
Index ¶
- func DRPCRegisterService(srv drpc.Server, impl DRPCServiceServer)
- type DRPCServiceClient
- type DRPCServiceDescription
- type DRPCServiceServer
- type DRPCService_Method1Stream
- type DRPCService_Method2Client
- type DRPCService_Method2Stream
- type DRPCService_Method3Client
- type DRPCService_Method3Stream
- type DRPCService_Method4Client
- type DRPCService_Method4Stream
- type In
- func (*In) Descriptor() ([]byte, []int)
- func (m *In) GetIn() int64
- func (*In) ProtoMessage()
- func (m *In) Reset()
- func (m *In) String() string
- func (m *In) XXX_DiscardUnknown()
- func (m *In) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *In) XXX_Merge(src proto.Message)
- func (m *In) XXX_Size() int
- func (m *In) XXX_Unmarshal(b []byte) error
- type Out
- func (*Out) Descriptor() ([]byte, []int)
- func (m *Out) GetOut() int64
- func (*Out) ProtoMessage()
- func (m *Out) Reset()
- func (m *Out) String() string
- func (m *Out) XXX_DiscardUnknown()
- func (m *Out) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Out) XXX_Merge(src proto.Message)
- func (m *Out) XXX_Size() int
- func (m *Out) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DRPCRegisterService ¶ added in v0.0.3
func DRPCRegisterService(srv drpc.Server, impl DRPCServiceServer)
Types ¶
type DRPCServiceClient ¶
type DRPCServiceClient interface { DRPCConn() drpc.Conn Method1(ctx context.Context, in *In) (*Out, error) Method2(ctx context.Context) (DRPCService_Method2Client, error) Method3(ctx context.Context, in *In) (DRPCService_Method3Client, error) Method4(ctx context.Context) (DRPCService_Method4Client, error) }
func NewDRPCServiceClient ¶
func NewDRPCServiceClient(cc drpc.Conn) DRPCServiceClient
type DRPCServiceDescription ¶
type DRPCServiceDescription struct{}
func (DRPCServiceDescription) NumMethods ¶
func (DRPCServiceDescription) NumMethods() int
type DRPCServiceServer ¶
type DRPCServiceServer interface { Method1(context.Context, *In) (*Out, error) Method2(DRPCService_Method2Stream) error Method3(*In, DRPCService_Method3Stream) error Method4(DRPCService_Method4Stream) error }
type In ¶
type In struct { In int64 `protobuf:"varint,1,opt,name=in,proto3" json:"in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*In) Descriptor ¶
func (*In) ProtoMessage ¶
func (*In) ProtoMessage()
func (*In) XXX_DiscardUnknown ¶
func (m *In) XXX_DiscardUnknown()
func (*In) XXX_Unmarshal ¶
type Out ¶
type Out struct { Out int64 `protobuf:"varint,1,opt,name=out,proto3" json:"out,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Out) Descriptor ¶
func (*Out) ProtoMessage ¶
func (*Out) ProtoMessage()
func (*Out) XXX_DiscardUnknown ¶
func (m *Out) XXX_DiscardUnknown()
func (*Out) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.