Example #1
0
func main() {
	config := shadowsocks.ParseConfig()
	shadowsocks.InitTable(config.Password)
	run(config.LocalPort, fmt.Sprintf("%s:%d", config.Server, config.ServerPort))
}
Example #2
0
func main() {
	config := shadowsocks.ParseConfig()
	shadowsocks.InitTable(config.Password)
	run(config.ServerPort)
}