Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
Address describes the service listening address and port
func AddressFromString ¶
AddressFromString returns a service address from a string, could be IPv4 or IPv6
type State ¶
type State int64
State describes the state of a service.
func (*State) CompareAndSwap ¶
CompareAndSwap executes the compare-and-swap operation for a state
func (*State) MarshalJSON ¶
MarshalJSON marshal the connection state to JSON
Click to show internal directories.
Click to hide internal directories.