Documentation ¶ Index ¶ type CmdAuthProvider func (p *CmdAuthProvider) Auth(addr net.Addr, auth []byte, sSend uint64, sRecv uint64) (bool, string) type HTTPAuthProvider func (p *HTTPAuthProvider) Auth(addr net.Addr, auth []byte, sSend uint64, sRecv uint64) (bool, string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CmdAuthProvider ¶ type CmdAuthProvider struct { Cmd string } func (*CmdAuthProvider) Auth ¶ func (p *CmdAuthProvider) Auth(addr net.Addr, auth []byte, sSend uint64, sRecv uint64) (bool, string) type HTTPAuthProvider ¶ type HTTPAuthProvider struct { Client *http.Client URL string } func (*HTTPAuthProvider) Auth ¶ func (p *HTTPAuthProvider) Auth(addr net.Addr, auth []byte, sSend uint64, sRecv uint64) (bool, string) Source Files ¶ View all Source files cmd.gohttp.go Click to show internal directories. Click to hide internal directories.