mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
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 {
|
||||
Name string
|
||||
Addr net.IP
|
||||
Port uint16
|
||||
Tags map[string]string
|
||||
Status string
|
||||
Port uint16
|
||||
ProtocolMin uint8
|
||||
ProtocolMax uint8
|
||||
ProtocolCur uint8
|
||||
|
Loading…
x
Reference in New Issue
Block a user