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