shadowsocks.go 304 B

1234567891011121314151617181920
  1. // R.I.P Shadowsocks
  2. package shadowsocks
  3. import (
  4. v2net "github.com/v2ray/v2ray-core/common/net"
  5. )
  6. type Shadowsocks struct {
  7. config *Config
  8. port v2net.Port
  9. }
  10. func (this *Shadowsocks) Port() v2net.Port {
  11. return this.port
  12. }
  13. func (this *Shadowsocks) Listen(port v2net.Port) error {
  14. return nil
  15. }