mirror of https://github.com/status-im/consul.git
Pack Port to be slightly more optimal in terms of struct memory usage.
This commit is contained in:
parent
b3df5d3a87
commit
32f393b611
|
@ -154,9 +154,9 @@ type logRecord struct {
|
||||||
type Member struct {
|
type Member struct {
|
||||||
Name string
|
Name string
|
||||||
Addr net.IP
|
Addr net.IP
|
||||||
Port uint16
|
|
||||||
Tags map[string]string
|
Tags map[string]string
|
||||||
Status string
|
Status string
|
||||||
|
Port uint16
|
||||||
ProtocolMin uint8
|
ProtocolMin uint8
|
||||||
ProtocolMax uint8
|
ProtocolMax uint8
|
||||||
ProtocolCur uint8
|
ProtocolCur uint8
|
||||||
|
|
Loading…
Reference in New Issue