Versions in this module Expand all Collapse all v0 v0.31.4 Nov 7, 2020 v0.31.3 Nov 6, 2020 Changes in this version + func BasicAuth(username, passwd string) string + func GetProxyStatus(statusAddr string, user string, passwd string, name string) (status *client.ProxyStatusResp, err error) + func ReloadConf(reloadAddr string, user string, passwd string) error + func SendHttpMsg(method, urlStr string, host string, headers map[string]string, proxy string) (code int, body string, header http.Header, err error) + func SendTcpMsg(addr string, msg string) (res string, err error) + func SendTcpMsgByConn(c net.Conn, msg string) (res string, err error) + func SendUdpMsg(addr string, msg string) (res string, err error) + type Process struct + func NewProcess(path string, params []string) *Process + func (p *Process) ErrorOutput() string + func (p *Process) SetBeforeStopHandler(fn func()) + func (p *Process) Start() error + func (p *Process) Stop() error