Documentation ¶
Index ¶
- type ErrorReturnHandlerType
- func (hdlr *ErrorReturnHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, ...) (err error)
- func (hdlr *ErrorReturnHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, ...) (err error)
- func (hdlr *ErrorReturnHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorReturnHandlerType ¶
type ErrorReturnHandlerType struct { Next http.Handler // Paths []string // Paths that this will work for ErrorCode []int // LineNo int // }
func NewErrorReturnServer ¶
func NewErrorReturnServer(n http.Handler, p []string, ec []int) *ErrorReturnHandlerType
func (*ErrorReturnHandlerType) InitializeWithConfigData ¶
func (hdlr *ErrorReturnHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)
func (*ErrorReturnHandlerType) PreValidate ¶
func (hdlr *ErrorReturnHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)
func (*ErrorReturnHandlerType) ServeHTTP ¶
func (hdlr *ErrorReturnHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.