# Functions
Error creates an error response.
MakeSessionToken creates a session token for RPC requests.
New creates a JSONRPC server.
Success creates a success response.
VerifySessionToken verifies that the given token was created using the given secretKey.
# Structs
APIInfo defines a standard API function type and other parameters.
Err represents JSON RPC error object.
JSONRPC defines a wrapper over mux json rpc that works with RPC functions of type `types.API` defined in packages that offer RPC APIs.`.
MethodInfo describe an RPC method info.
Request represent a JSON RPC request.
Response represents a JSON RPC response.
# Interfaces
API defines an interface for providing and accessing API functions.
# Type aliases
APISet defines a collection of APIs.
OnRequestFunc is the type of function to use as a callback when new requests are received.
Params represent JSON API parameters.