Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// ListenAddress listen address
ListenAddress string `toml:"listen-address"`
// ServiceAddress service address
ServiceAddress string `toml:"service-addresss"`
}
Address is used to describe the address of a MO running service, divided into 2 addresses, ListenAddress and ServiceAddress.
ListenAddress is used to indicate the address of the service listener, used to accept external connections.
ServiceAddress is used to register to the HAKeeper address, other nodes can get this address to connect to this MO's service
TODO(fagongzi): refactor all address configurations in MO.
Click to show internal directories.
Click to hide internal directories.