# Functions
BalancerFunc returns a stateless, purely functional load balancer that calls pick to pick the connection to use.
Connect creates a connection to the servers at the endpoints returned by the resolver.
MakeMethodKey returns the fingerprint for the specified method on component.
MTLS returns an endpoint that performs MTLS authentication over the underlying endpoint.
NewConstantResolver returns a new resolver that returns the provided set of endpoints.
NewHandlerMap returns a handler map to which the server handlers can be added.
NewStub creates a client-side stub of the type matching reg.
ParseNetEndpoint parses a string with a format of net://addr into a NetAddress.
RoundRobin returns a round-robin balancer.
Serve starts listening for connections and requests on l.
ServeOn serves client requests received over an already established network connection with a client.
TCP returns a TCP endpoint.
Unix returns an endpoint that uses Unix sockets.
# Constants
CommunicationError is the type of the error returned by a call when some communication error is encountered, typically a process or network error.
Unreachable is the type of the error returned by a call when every server is unreachable.
# Variables
Missing is the version associated with a value that does not exist in the store.
# Structs
CallOptions are call-specific options.
ClientOptions are the options to configure an RPC client.
HandlerMap is a mapping from MethodID to a Handler.
NetEndpoint is an Endpoint that implements Dial using net.Dial.
ServerOption are the options to configure an RPC server.
Version is the version associated with a resolver's set of endpoints.
# Interfaces
Balancer manages a set of ReplicaConnections and picks one of them per call.
Connection allows a client to send RPCs.
An endpoint is a dialable entity with an address.
Listener allows the server to accept RPCs.
ReplicaConnection is a connection to a single replica.
A Resolver manages a potentially changing set of endpoints.