# Functions
AllowAllCORSOptions returns a option that allows access.
HTTPRequest2RpcxRequest converts a http request to a rpcx request.
NewServer returns a server.
RegisterMakeListener registers a MakeListener for network.
WithReadTimeout sets readTimeout.
WithTLSConfig sets tls.Config.
WithWriteTimeout sets writeTimeout.
# Constants
CodeInternalJSONRPCError is not currently returned but defined for completeness.
CodeInvalidjsonrpcRequest is used when the JSON sent is not a valid jsonrpcRequest object.
CodeInvalidParams should be returned by the handler when method parameter(s) were invalid.
CodeMethodNotFound should be returned by the handler when the method does not exist / is not available.
CodeParseJSONRPCError is used when invalid JSON was received by the server.
CodeUnknownJSONRPCError should be used for all non coded errors.
ReaderBuffsize is used for bufio reader.
WriterBuffsize is used for bufio writer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrServerClosed is returned by the Server's Serve, ListenAndServe after a call to Shutdown or Close.
RemoteConnContextKey is a context key.
StartRequestContextKey records the start time.
StartSendRequestContextKey records the start time.
TagContextKey is used to record extra info in handling services.
No description provided by the author
# Structs
No description provided by the author
ID is a jsonrpcRequest identifier.
JSONRPCError represents a structured error in a jsonrpcRespone.
Server is rpcx server that use TCP or UDP.
VersionTag is a special 0 sized struct that encodes as the jsonrpc version tag.
# Interfaces
Plugin is the server plugin interface.
PluginContainer represents a plugin container that defines all methods to manage plugins.And it also defines all extension points.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Reset defines Reset method for pooled object.
# Type aliases
MakeListener defines a listener generater.
OptionFn configures options of server.