core/connmgr/conn_gater library
Classes
- ConnGater
- ConnGater can be implemented by a type that supports active inbound or outbound Conn gating.
- DisconnectReason
- Represents a reason for disconnecting from a peer. This is used to communicate the intention behind a Conn closure.
- NoopConnGater
- A no-op implementation of ConnGater that allows all Conns.