Documentation ¶
Index ¶
- func CreateUserHandler(w http.ResponseWriter, r *http.Request)
- func DeleteListenHandler(w http.ResponseWriter, r *http.Request)
- func GetInfoHandler(w http.ResponseWriter, r *http.Request)
- func GetListenHandler(w http.ResponseWriter, r *http.Request)
- func GetRateHandler(w http.ResponseWriter, r *http.Request)
- func GetVersion(w http.ResponseWriter, r *http.Request)
- func ProxyConnHandler(w http.ResponseWriter, r *http.Request)
- func ProxyInfo(w http.ResponseWriter, r *http.Request)
- func RestartListenHandler(w http.ResponseWriter, r *http.Request)
- func SetExpiryHandler(w http.ResponseWriter, r *http.Request)
- func SetRateHandler(w http.ResponseWriter, r *http.Request)
- type Expiry
- type Proxy
- type RestartL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserHandler ¶ added in v0.1.3
func CreateUserHandler(w http.ResponseWriter, r *http.Request)
CreateUserHandler 创建新用户
func DeleteListenHandler ¶
func DeleteListenHandler(w http.ResponseWriter, r *http.Request)
DeleteListenHandler 删除指定网络链接
func GetInfoHandler ¶ added in v0.1.2
func GetInfoHandler(w http.ResponseWriter, r *http.Request)
GetInfoHandler 获取当前所有的端口信息
func GetListenHandler ¶
func GetListenHandler(w http.ResponseWriter, r *http.Request)
GetListenHandler 获取当前所有的网络链接
func GetRateHandler ¶
func GetRateHandler(w http.ResponseWriter, r *http.Request)
GetRateHandler 获取当前所有端口流量数据
func ProxyConnHandler ¶ added in v0.1.5
func ProxyConnHandler(w http.ResponseWriter, r *http.Request)
func ProxyInfo ¶ added in v0.1.7
func ProxyInfo(w http.ResponseWriter, r *http.Request)
ProxyInfo 获取代理服务信息 返回可以适合直接输出QRcode的字符串
func RestartListenHandler ¶
func RestartListenHandler(w http.ResponseWriter, r *http.Request)
RestartListenHandler 重启指定网络链接
func SetExpiryHandler ¶ added in v0.1.2
func SetExpiryHandler(w http.ResponseWriter, r *http.Request)
SetExpiryHandler 设置网络有效期
func SetRateHandler ¶ added in v0.1.3
func SetRateHandler(w http.ResponseWriter, r *http.Request)
SetRateHandler 设置网络最大流量
Types ¶
Click to show internal directories.
Click to hide internal directories.