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