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