Documentation
¶
Index ¶
- func NewSocks() services.Service
- type Socks
- func (s *Socks) CheckArgs() (err error)
- func (s *Socks) Clean()
- func (s *Socks) ConnectSSH() (err error)
- func (s *Socks) InitBasicAuth() (err error)
- func (s *Socks) InitService() (err error)
- func (s *Socks) IsBasicAuth() bool
- func (s *Socks) IsDeadLoop(inLocalAddr string, host string) bool
- func (s *Socks) Resolve(address string) string
- func (s *Socks) Start(args interface{}, log *logger.Logger) (err error)
- func (s *Socks) StopService()
- func (s *Socks) UDPKey() []byte
- type SocksArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Socks ¶
type Socks struct {
// contains filtered or unexported fields
}
func (*Socks) ConnectSSH ¶
func (*Socks) InitBasicAuth ¶
func (*Socks) InitService ¶
func (*Socks) IsBasicAuth ¶
func (*Socks) StopService ¶
func (s *Socks) StopService()
type SocksArgs ¶
type SocksArgs struct { Parent *string ParentType *string Local *string LocalType *string CertFile *string KeyFile *string CaCertFile *string CaCertBytes []byte CertBytes []byte KeyBytes []byte SSHKeyFile *string SSHKeyFileSalt *string SSHPassword *string SSHUser *string SSHKeyBytes []byte SSHAuthMethod ssh.AuthMethod Timeout *int Always *bool Interval *int Blocked *string Direct *string AuthFile *string Auth *[]string AuthURL *string AuthURLOkCode *int AuthURLTimeout *int AuthURLRetry *int KCP kcpcfg.KCPConfigArgs UDPParent *string UDPLocal *string LocalIPS *[]string DNSAddress *string DNSTTL *int LocalKey *string ParentKey *string LocalCompress *bool ParentCompress *bool }
Click to show internal directories.
Click to hide internal directories.