Documentation ¶
Index ¶
- func DownloadCaHandlerFunc(req *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response)
- func SetCA(caCert, caKey []byte) error
- type Config
- type LogrusLogger
- type MitmServer
- func (m *MitmServer) ListenAndServe() error
- func (m *MitmServer) MakeOnResponse(c chan httpdump.Request) func(resp *http.Response, ctx *goproxy.ProxyCtx) *http.Response
- func (m *MitmServer) OnRequest(req *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response)
- func (m *MitmServer) SetParentProxy(parentProxy string)
- func (m *MitmServer) Shutdown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadCaHandlerFunc ¶
Types ¶
type LogrusLogger ¶
type LogrusLogger struct {
// contains filtered or unexported fields
}
func (LogrusLogger) Printf ¶
func (l LogrusLogger) Printf(format string, v ...interface{})
type MitmServer ¶
func NewMitmServer ¶
func NewMitmServer(conf Config) *MitmServer
func (*MitmServer) ListenAndServe ¶
func (m *MitmServer) ListenAndServe() error
func (*MitmServer) MakeOnResponse ¶
func (*MitmServer) SetParentProxy ¶
func (m *MitmServer) SetParentProxy(parentProxy string)
Click to show internal directories.
Click to hide internal directories.