package
0.12.12
Repository: https://github.com/hashicorp/nomad.git
Documentation: pkg.go.dev

# Functions

NewClientCodec returns a new rpc.ClientCodec to be used to make RPC calls.
NewPool is used to make a new connection pool Maintain at most one connection per host, for up to maxTime.
NewServerCodec returns a new rpc.ServerCodec to be used to handle RPCs.

# Constants

RpcMultiplexV2 allows a multiplexed connection to switch modes between RpcNomad and RpcStreaming per opened stream.

# Structs

Conn is a pooled connection to a Nomad server.
ConnPool is used to maintain a connection pool to other Nomad servers.
streamClient is used to wrap a stream with an RPC client.

# Type aliases