package main import "errors" type Socks struct { config *Config } func NewSocksServer(c *Config) Socks { return Socks{config: c} } func (socks Socks) Listen() error { return errors.New("not impl") }