Documentation ¶
Index ¶
- type GenErrorType
- func (hdlr *GenErrorType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, ...) (err error)
- func (hdlr *GenErrorType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, ...) (err error)
- func (hdlr *GenErrorType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenErrorType ¶
type GenErrorType struct { Next http.Handler Paths []string StatusCode int LineNo int // contains filtered or unexported fields }
func NewGenErrorServer ¶
func NewGenErrorServer(n http.Handler, p []string, e int) *GenErrorType
Parameterized for testing? or just change the test
func (*GenErrorType) InitializeWithConfigData ¶
func (hdlr *GenErrorType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)
func (*GenErrorType) PreValidate ¶
func (hdlr *GenErrorType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)
func (*GenErrorType) ServeHTTP ¶
func (hdlr *GenErrorType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.