DumpRequest

package
v0.7.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DumpRequestType

type DumpRequestType struct {
	Next     http.Handler
	Paths    []string
	Msg      string
	Final    string
	FileName string
	LineNo   int
	// contains filtered or unexported fields
}

func NewDumpRequestServer

func NewDumpRequestServer(n http.Handler, p []string, m string, fn string) *DumpRequestType

Parameterized for testing? or just change the test

func (*DumpRequestType) InitializeWithConfigData

func (hdlr *DumpRequestType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)

func (*DumpRequestType) PreValidate

func (hdlr *DumpRequestType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)

func (*DumpRequestType) ServeHTTP

func (hdlr *DumpRequestType) ServeHTTP(www http.ResponseWriter, req *http.Request)

func (*DumpRequestType) SetNext

func (hdlr *DumpRequestType) SetNext(next http.Handler)

normally identical

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL