fix: udp json struct tag
This commit is contained in:
parent
ab13019bde
commit
3506cbd5e9
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ type Configuration struct {
|
||||||
TCPRouters map[string]*TCPRouterInfo `json:"tcpRouters,omitempty"`
|
TCPRouters map[string]*TCPRouterInfo `json:"tcpRouters,omitempty"`
|
||||||
TCPServices map[string]*TCPServiceInfo `json:"tcpServices,omitempty"`
|
TCPServices map[string]*TCPServiceInfo `json:"tcpServices,omitempty"`
|
||||||
UDPRouters map[string]*UDPRouterInfo `json:"udpRouters,omitempty"`
|
UDPRouters map[string]*UDPRouterInfo `json:"udpRouters,omitempty"`
|
||||||
UDPServices map[string]*UDPServiceInfo `json:"updServices,omitempty"`
|
UDPServices map[string]*UDPServiceInfo `json:"udpServices,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewConfig returns a Configuration initialized with the given conf. It never returns nil.
|
// NewConfig returns a Configuration initialized with the given conf. It never returns nil.
|
||||||
|
|
Loading…
Reference in a new issue