Documentation
¶
Index ¶
- func NewSPS() services.Service
- type SPS
- func (s *SPS) CheckArgs() (err error)
- func (s *SPS) Clean()
- func (s *SPS) InitBasicAuth() (err error)
- func (s *SPS) InitOutConnPool()
- func (s *SPS) InitService() (err error)
- func (s *SPS) IsBasicAuth() bool
- func (s *SPS) OutToTCP(inConn *net.Conn) (err error)
- func (s *SPS) Resolve(address string) string
- func (s *SPS) Start(args interface{}, log *logger.Logger) (err error)
- func (s *SPS) StopService()
- type SPSArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SPS ¶
type SPS struct {
// contains filtered or unexported fields
}
func (*SPS) InitBasicAuth ¶
func (*SPS) InitOutConnPool ¶
func (s *SPS) InitOutConnPool()
func (*SPS) InitService ¶
func (*SPS) IsBasicAuth ¶
func (*SPS) StopService ¶
func (s *SPS) StopService()
type SPSArgs ¶
type SPSArgs struct {
Parent *string
CertFile *string
KeyFile *string
CaCertFile *string
CaCertBytes []byte
CertBytes []byte
KeyBytes []byte
Local *string
ParentType *string
LocalType *string
Timeout *int
KCP kcpcfg.KCPConfigArgs
ParentServiceType *string
DNSAddress *string
DNSTTL *int
AuthFile *string
Auth *[]string
AuthURL *string
AuthURLOkCode *int
AuthURLTimeout *int
AuthURLRetry *int
LocalIPS *[]string
ParentAuth *string
LocalKey *string
ParentKey *string
LocalCompress *bool
ParentCompress *bool
DisableHTTP *bool
DisableSocks5 *bool
}
Click to show internal directories.
Click to hide internal directories.