Versions in this module Expand all Collapse all v1 v1.31.1 Nov 1, 2023 v1.31.0 Oct 20, 2023 Changes in this version + func HandleConn(c net.Conn, opt *C.MitmOption, in chan<- C.ConnContext, ...) + func New(addr string, in chan<- C.ConnContext) (C.Listener, error) + type Listener struct + func NewWithAuthenticate(addr string, option *C.MitmOption, in chan<- C.ConnContext, authenticate bool) (*Listener, error) + func (l *Listener) Address() string + func (l *Listener) Close() error + func (l *Listener) RawAddress() string + func (l *Listener) SetAuthenticator(users []auth.AuthUser)