Documentation ¶
Overview ¶
Package service is a testing service for the integration tests.
Index ¶
- Variables
- func DRPCRegisterService(mux drpc.Mux, impl DRPCServiceServer) error
- func Equal(a, b drpc.Message) bool
- type DRPCServiceClient
- type DRPCServiceDescription
- type DRPCServiceServer
- type DRPCServiceUnimplementedServer
- func (s *DRPCServiceUnimplementedServer) Method1(context.Context, *In) (*Out, error)
- func (s *DRPCServiceUnimplementedServer) Method2(DRPCService_Method2Stream) error
- func (s *DRPCServiceUnimplementedServer) Method3(*In, DRPCService_Method3Stream) error
- func (s *DRPCServiceUnimplementedServer) Method4(DRPCService_Method4Stream) error
- type DRPCService_Method1Stream
- type DRPCService_Method2Client
- type DRPCService_Method2Stream
- type DRPCService_Method3Client
- type DRPCService_Method3Stream
- type DRPCService_Method4Client
- type DRPCService_Method4Stream
- type In
- type Out
Constants ¶
This section is empty.
Variables ¶
View Source
var Encoding drpcEncoding_File_service_proto
Encoding is the drpc.Encoding used for this service.
View Source
var File_service_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterService ¶
func DRPCRegisterService(mux drpc.Mux, impl DRPCServiceServer) error
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 DRPCServiceUnimplementedServer ¶
type DRPCServiceUnimplementedServer struct{}
func (*DRPCServiceUnimplementedServer) Method2 ¶
func (s *DRPCServiceUnimplementedServer) Method2(DRPCService_Method2Stream) error
func (*DRPCServiceUnimplementedServer) Method3 ¶
func (s *DRPCServiceUnimplementedServer) Method3(*In, DRPCService_Method3Stream) error
func (*DRPCServiceUnimplementedServer) Method4 ¶
func (s *DRPCServiceUnimplementedServer) Method4(DRPCService_Method4Stream) error
type In ¶
type In struct { In int64 `protobuf:"varint,1,opt,name=in,proto3" json:"in,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*In) Descriptor
deprecated
func (*In) ProtoMessage ¶
func (*In) ProtoMessage()
func (*In) ProtoReflect ¶
func (x *In) ProtoReflect() protoreflect.Message
type Out ¶
type Out struct { Out int64 `protobuf:"varint,1,opt,name=out,proto3" json:"out,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Out) Descriptor
deprecated
func (*Out) ProtoMessage ¶
func (*Out) ProtoMessage()
func (*Out) ProtoReflect ¶
func (x *Out) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.