try protobuf

This commit is contained in:
Darien Raymond committed 2016-08-25 21:55:49 +02:00
1 parent 04d956462c
commit bbca180dba
20 files changed
+216 -51

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ func (this *Config) UnmarshalJSON(data []byte) error {
Host *v2net.AddressJson `json:"address"`
PortValue v2net.Port `json:"port"`
NetworkList *v2net.NetworkList `json:"network"`
TimeoutValue int `json:"timeout"`
TimeoutValue uint32 `json:"timeout"`
Redirect bool `json:"followRedirect"`
}
rawConfig := new(DokodemoConfig)