# Functions
Accept accepts connections on the listener and serves requests to DefaultServer for each incoming connection.
Dial connects to an RPC server at the specified network address.
NewClient returns a new Client to handle requests to the set of services at the other end of the connection.
NewClientWithCodec is like NewClient but uses the specified codec to encode requests and decode responses.
NewServer returns a new Server.
Register publishes the receiver's methods in the DefaultServer.
RegisterName is like Register but uses the provided name for the type instead of the receiver's concrete type.
ServeCodec is like ServeConn but uses the specified codec to decode requests and encode responses.
ServeConn runs the DefaultServer on a single connection.
ServeRequest is like ServeCodec but synchronously serves a single request.
# Interfaces
A ClientCodec implements writing of RPC requests and reading of RPC responses for the client side of an RPC session.
A ServerCodec implements reading of RPC requests and writing of RPC responses for the server side of an RPC session.
# Type aliases
ServerError represents an error that has been returned from the remote side of the RPC connection.