Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CipherInfo ¶
type CipherInfo struct {
// contains filtered or unexported fields
}
type Config ¶
type Config struct { // local addr, default is ":6009" LocalAddr string `json:"local_addr"` // server addr, default is ":7008" ServerAddr string `json:"server_addr"` // password, default is "shadowsocks-secret-key" Password string `json:"password"` // cipher method, default is "ase-128-cfb" Method string `json:"method"` // connection timeout, default is 300 Timeout int `json:"timeout"` }
func ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.