Documentation
¶
Index ¶
Constants ¶
View Source
const SDK_VERSION = "5.0"
Variables ¶
This section is empty.
Functions ¶
func Start ¶
Start serviceID : is service identify id,different service's id should be difference serviceArgsStr: is the whole command line args string such as : 1."http -t tcp -p :8989" 2."socks -t tcp -p :8989" and so on. if an error occured , errStr will be the error reason if start success, errStr is empty.
Types ¶
type DNS ¶
type DNS struct {
// contains filtered or unexported fields
}
func (*DNS) InitService ¶
func (*DNS) StopService ¶
func (s *DNS) StopService()
type DNSArgs ¶
type DNSArgs struct {
ParentServiceType *string
ParentType *string
Parent *string
ParentAuth *string
ParentKey *string
ParentCompress *bool
KCP kcpcfg.KCPConfigArgs
CertFile *string
KeyFile *string
CaCertFile *string
Local *string
Timeout *int
RemoteDNSAddress *string
DNSTTL *int
CacheFile *string
LocalSocks5Port *string
}
Click to show internal directories.
Click to hide internal directories.