1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-15 01:34:24 -04:00

Merge pull request #4 from boypt/fixvet

fix: json field tag syntax
This commit is contained in:
Kslr 2019-05-31 21:27:06 +08:00 committed by GitHub
commit 48f5e7e76b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,9 @@ import (
) )
type DnsOutboundConfig struct { type DnsOutboundConfig struct {
Network Network `json:network` Network Network `json:"network"`
Address *Address `json:address` Address *Address `json:"address"`
Port uint16 `json:port` Port uint16 `json:"port"`
} }
func (c *DnsOutboundConfig) Build() (proto.Message, error) { func (c *DnsOutboundConfig) Build() (proto.Message, error) {