Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleConn ¶
func HandleConn(c net.Conn, opt *C.MitmOption, in chan<- C.ConnContext, cache *cache.LruCache[string, bool], auth auth.Authenticator)
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func NewWithAuthenticate ¶
func NewWithAuthenticate(addr string, option *C.MitmOption, in chan<- C.ConnContext, authenticate bool) (*Listener, error)
func (*Listener) RawAddress ¶
RawAddress implements C.Listener
func (*Listener) SetAuthenticator ¶
SetAuthenticator implements C.AuthenticatorListener
Click to show internal directories.
Click to hide internal directories.