Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialHostAndPort ¶
func DialHostAndPort(hostname string, port uint16) (*mtop.MTopClientConn, error)
func RunHTTPProxy ¶
func RunHTTPProxy()
func RunSOCKS5Proxy ¶
func RunSOCKS5Proxy()
Types ¶
type ServerConfig ¶
type ServerConfig struct {
Host string `json:"host" yaml:"host"`
Username string `json:"username" yaml:"username"`
Password string `json:"password" yaml:"password"`
Type string `json:"type" yaml:"type"`
CA string `json:"ca" yaml:"ca"`
Proto string `json:"proto" yaml:"proto"`
Enabled bool `json:"enabled" yaml:"enabled"`
}
Click to show internal directories.
Click to hide internal directories.