config.go 178 B

12345678910111213
  1. package config
  2. import (
  3. "net"
  4. )
  5. type SocksConfig interface {
  6. IsNoAuth() bool
  7. IsPassword() bool
  8. HasAccount(username, password string) bool
  9. IP() net.IP
  10. UDPEnabled() bool
  11. }