Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalConfig ¶
type GlobalConfig struct { LogLevel int `json:"log_level"` LogFile string `json:"log_file"` LocalHost string `json:"local_addr"` LocalPort int `json:"local_port"` RemoteHost string `json:"remote_addr"` RemotePort int `json:"remote_port"` BufferSize int `json:"buffer_size"` Psk string `json:"psk"` Obfs ObfsConfig `json:"obfs"` API APIConfig `json:"api"` LocalAddress *common.Address RemoteAddress *common.Address Hash map[string]string }
func ParseJSON ¶
func ParseJSON(data []byte) (*GlobalConfig, error)
type ObfsConfig ¶
Click to show internal directories.
Click to hide internal directories.