Documentation
¶
Index ¶
Constants ¶
View Source
const HttpMessageBytes = `HTTP/1.1 %d %s
Content-Type: text/plain; charset=utf-8
Proxy-Authenticate: Basic realm="%s"
errorMsg: %s`
Variables ¶
This section is empty.
Functions ¶
func HandleConn ¶
func HandleConn(c net.Conn, in chan<- C.ConnContext, authenticator auth.Authenticator)
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func NewWithAuthenticate ¶
func NewWithAuthenticate(addr string, in chan<- C.ConnContext, authenticator auth.Authenticator) (*Listener, error)
func (*Listener) RawAddress ¶
RawAddress implements C.Listener
Click to show internal directories.
Click to hide internal directories.