Documentation ¶
Index ¶
- Variables
- func CloseLocalServer()
- func GetTaskStatus(path string)
- func GetTlsEnable() bool
- func NewConn(tp string, vkey string, server string, connType string, proxyUrl string) (*conn.Conn, error)
- func NewHttpProxyConn(url *url.URL, remoteAddr string) (net.Conn, error)
- func RegisterLocalIp(server string, vKey string, tp string, proxyUrl string, hour int)
- func SetTlsEnable(tlsEnable11 bool)
- func StartFromFile(path string)
- func StartFromString(str string)
- func StartLocalServer(l *config.LocalServer, config *config.CommonConfig) error
- type TRPClient
Constants ¶
This section is empty.
Variables ¶
View Source
var CloseClient bool
View Source
var (
LocalServer []*net.TCPListener
)
View Source
var NowStatus int
Functions ¶
func CloseLocalServer ¶
func CloseLocalServer()
func GetTaskStatus ¶
func GetTaskStatus(path string)
func GetTlsEnable ¶
func GetTlsEnable() bool
func NewConn ¶
func NewConn(tp string, vkey string, server string, connType string, proxyUrl string) (*conn.Conn, error)
Create a new connection with the server and verify it
func NewHttpProxyConn ¶
http proxy connection
func RegisterLocalIp ¶
func SetTlsEnable ¶
func SetTlsEnable(tlsEnable11 bool)
func StartFromFile ¶
func StartFromFile(path string)
func StartFromString ¶
func StartFromString(str string)
func StartLocalServer ¶
func StartLocalServer(l *config.LocalServer, config *config.CommonConfig) error
Types ¶
Click to show internal directories.
Click to hide internal directories.