Documentation ¶
Index ¶
- func IsTextContentType(rw *goftlmux.MidBuffer) (isText bool)
- type DumpRequestType
- func (hdlr *DumpRequestType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, ...) (err error)
- func (hdlr *DumpRequestType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, ...) (err error)
- func (hdlr *DumpRequestType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTextContentType ¶
----------------------------------------------------------------------------------------------------------------------------------------------------
Types ¶
type DumpRequestType ¶
type DumpRequestType struct { Next http.Handler Paths []string Msg string SaveBodyFlag bool SaveTextOnly bool FileName string LineNo int // contains filtered or unexported fields }
func NewDumpRequestServer ¶
func NewDumpRequestServer(n http.Handler, p []string, m string, sb bool, 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)
Click to show internal directories.
Click to hide internal directories.