integration
packagemodule v0.0.0-...-1f5426f
Go to latest Published: Jul 14, 2025 License:MIT
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:1 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
package integration
import "storj.io/drpc/internal/integration"
Package integration holds integration tests for drpc.
Usage
func DRPCRegisterService
func DRPCRegisterService(mux drpc.Mux, impl DRPCServiceServer) errortype DRPCServiceClient
type DRPCServiceClient interface {DRPCConn() drpc.ConnMethod1(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) DRPCServiceClienttype DRPCServiceDescription
type DRPCServiceDescription struct{}func (DRPCServiceDescription) Method
func (DRPCServiceDescription) Method(n int) (string, drpc.Receiver, interface{}, bool)func (DRPCServiceDescription) NumMethods
func (DRPCServiceDescription) NumMethods() inttype DRPCServiceServer
type DRPCServiceServer interface {Method1(context.Context, *In) (*Out, error)Method2(DRPCService_Method2Stream) errorMethod3(*In, DRPCService_Method3Stream) errorMethod4(DRPCService_Method4Stream) error}type DRPCServiceUnimplementedServer
type DRPCServiceUnimplementedServer struct{}func (*DRPCServiceUnimplementedServer) Method1
func (s *DRPCServiceUnimplementedServer) Method1(context.Context, *In) (*Out, error)func (*DRPCServiceUnimplementedServer) Method2
func (s *DRPCServiceUnimplementedServer) Method2(DRPCService_Method2Stream) errorfunc (*DRPCServiceUnimplementedServer) Method3
func (s *DRPCServiceUnimplementedServer) Method3(*In, DRPCService_Method3Stream) errorfunc (*DRPCServiceUnimplementedServer) Method4
func (s *DRPCServiceUnimplementedServer) Method4(DRPCService_Method4Stream) errortype DRPCService_Method1Stream
type DRPCService_Method1Stream interface {drpc.StreamSendAndClose(*Out) error}type DRPCService_Method2Client
type DRPCService_Method2Client interface {drpc.StreamSend(*In) errorCloseAndRecv() (*Out, error)}type DRPCService_Method2Stream
type DRPCService_Method2Stream interface {drpc.StreamSendAndClose(*Out) errorRecv() (*In, error)}type DRPCService_Method3Client
type DRPCService_Method3Client interface {drpc.StreamRecv() (*Out, error)}type DRPCService_Method3Stream
type DRPCService_Method3Stream interface {drpc.StreamSend(*Out) error}type DRPCService_Method4Client
type DRPCService_Method4Client interface {drpc.StreamSend(*In) errorRecv() (*Out, error)}type DRPCService_Method4Stream
type DRPCService_Method4Stream interface {drpc.StreamSend(*Out) errorRecv() (*In, 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) Descriptor() ([]byte, []int)func (*In) GetIn
func (m *In) GetIn() int64func (*In) ProtoMessage
func (*In) ProtoMessage()func (*In) Reset
func (m *In) Reset()func (*In) String
func (m *In) String() stringfunc (*In) XXX_DiscardUnknown
func (m *In) XXX_DiscardUnknown()func (*In) XXX_Marshal
func (m *In) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)func (*In) XXX_Merge
func (m *In) XXX_Merge(src proto.Message)func (*In) XXX_Size
func (m *In) XXX_Size() intfunc (*In) XXX_Unmarshal
func (m *In) XXX_Unmarshal(b []byte) errortype 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) Descriptor() ([]byte, []int)func (*Out) GetOut
func (m *Out) GetOut() int64func (*Out) ProtoMessage
func (*Out) ProtoMessage()func (*Out) Reset
func (m *Out) Reset()func (*Out) String
func (m *Out) String() stringfunc (*Out) XXX_DiscardUnknown
func (m *Out) XXX_DiscardUnknown()func (*Out) XXX_Marshal
func (m *Out) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)func (*Out) XXX_Merge
func (m *Out) XXX_Merge(src proto.Message)func (*Out) XXX_Size
func (m *Out) XXX_Size() intfunc (*Out) XXX_Unmarshal
func (m *Out) XXX_Unmarshal(b []byte) error
Documentation¶
Overview¶
Package integration holds integration tests for drpc.
Index¶
Constants¶
This section is empty.
Variables¶
View Source
var (NewDRPCServiceClient =service.NewDRPCServiceClientDRPCRegisterService =service.DRPCRegisterServiceEqual =service.EqualEncoding =service.Encoding)
Functions¶
This section is empty.
Types¶
typeDRPCServiceClient¶
type DRPCServiceClient =service.DRPCServiceClient
typeDRPCServiceServer¶
type DRPCServiceServer =service.DRPCServiceServer
typeDRPCService_Method2Stream¶
type DRPCService_Method2Stream =service.DRPCService_Method2Stream
typeDRPCService_Method3Stream¶
type DRPCService_Method3Stream =service.DRPCService_Method3Stream
typeDRPCService_Method4Stream¶
type DRPCService_Method4Stream =service.DRPCService_Method4Stream
Directories¶
| Path | Synopsis |
|---|---|
Package customencoding is a testing custom encoding for the integration tests. | Package customencoding is a testing custom encoding for the integration tests. |
Package service is a testing service for the integration tests. | Package service is a testing service for the integration tests. |
Package service is a testing service for the integration tests. | Package service is a testing service for the integration tests. |
Package service is a testing service for the integration tests. | Package service is a testing service for the integration tests. |
Click to show internal directories.
Click to hide internal directories.