package
1.9.1
Repository: https://github.com/smallnest/rpcx.git
Documentation: pkg.go.dev

# Functions

IsShareContext checks whether a context is share.Context.
RegisterCodec register customized codec.

# Constants

AuthKey is used in metadata.
ContextTagsLock is name of the Context TagsLock.
DefaultRPCPath is used by ServeHTTP.
SendFileServiceName is name of the file transfer service.
ServerAddress is used to get address of the server by client.
ServerTimeout timeout value passed from client to control timeout of server.
StreamServiceName is name of the stream service.

# Variables

Codecs are codecs supported by rpcx.
ReqMetaDataKey is used to set metadata in context of requests.
ResMetaDataKey is used to set metadata in context of responses.
Trace is a flag to write a trace log or not.

# Structs

Context is a rpcx customized Context that can contains multiple values.
DownloadFileArgs args from clients.
FileTransferArgs args from clients.
FileTransferReply response to token and addr to clients.
StreamServiceArgs is the request type for stream service.
StreamServiceReply is the reply type for stream service.

# Type aliases

ContextKey defines key type in context.