package
0.0.0-20241222093054-3ae8ef813aee
Repository: https://github.com/basecomplextech/spec.git
Documentation: pkg.go.dev

# Functions

Default returns default options.
Error returns an RPC error status with the given message.
Errorf returns an RPC error status with the given message.
NewBuffer returns a new alloc.Buffer.
NewClient returns a new client.
NewClientDialer returns a new client with the given dialer.
NewRequest returns a new request.
NewServer returns a new RPC server.
TestMessageChannel returns a test message channel.
TestNewContext returns a test context with a test connection.
TestNextContext returns a test context with a test connection.
WrapError returns an RPC error status with the given error.
WrapErrorf returns an RPC error status with the given error.

# Constants

ClientMode_AutoConnect automatically connects and reconnects to the server.
ClientMode_OnDemand connects to the server on demand, does not reconnect on errors.
CodeSkipResponse is used by oneway RPCs to skip sending a response.
No description provided by the author

# Variables

SkipResponse instructs the server to skip a response for a oneway method.

# Structs

Request is an outgoing RPC request builder.

# Interfaces

Channel is a client RPC channel.
Client is a SpecRPC client.
Handler is an RPC handler.
MessageChannel is a client message channel.
NextHandler is an RPC next call handler in a call chain.
Server is an RPC server.
ServerChannel is a server RPC channel.
Subhandler is an RPC subservice handler.
No description provided by the author

# Type aliases

ClientMode specifies how the client connects to the server.
No description provided by the author
No description provided by the author
HandleFunc is a type adapter to allow use of ordinary functions as RPC handlers.
No description provided by the author
No description provided by the author
TestMessageChannelFunc is a function that returns the next message.