fix: json field tag syntax

sync https://github.com/v2fly/v2ray-core/commit/ad4f41e1c0fd6096aa738004140ec9ca4f4db1bd
This commit is contained in:
Kslr
2019-06-03 14:52:35 +08:00
parent b0edbec53e
commit eb3df1a58e
+3 -3
View File
@@ -7,9 +7,9 @@ import (
)
type DnsOutboundConfig struct {
Network Network `json:network`
Address *Address `json:address`
Port uint16 `json:port`
Network Network `json:"network"`
Address *Address `json:"address"`
Port uint16 `json:"port"`
}
func (c *DnsOutboundConfig) Build() (proto.Message, error) {