Documentation ¶
Index ¶
- Variables
- func CloseLocalServer()
- func GetTaskStatus(path string)
- 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 StartFromFile(path string)
- func StartLocalServer(l *config.LocalServer, config *config.CommonConfig) error
- type TRPClient
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalServer []*net.TCPListener
Functions ¶
func CloseLocalServer ¶ added in v0.0.16
func CloseLocalServer()
func GetTaskStatus ¶ added in v0.0.15
func GetTaskStatus(path string)
func NewConn ¶ added in v0.0.15
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 ¶ added in v0.21.0
func RegisterLocalIp ¶ added in v0.0.15
func StartFromFile ¶ added in v0.0.15
func StartFromFile(path string)
func StartLocalServer ¶ added in v0.0.16
func StartLocalServer(l *config.LocalServer, config *config.CommonConfig) error
Types ¶
Click to show internal directories.
Click to hide internal directories.