Documentation
¶
Index ¶
Constants ¶
View Source
const Namespace = "github_com/devopsfaith/krakend-botdetector"
Namespace is the key used to store the bot detector config at the ExtraConfig struct
Variables ¶
View Source
var ErrNoConfig = errors.New("no config defined for the module")
ErrNoConfig is returned when there is no config defined for the module
Functions ¶
func ParseConfig ¶
func ParseConfig(cfg config.ExtraConfig) (botdetector.Config, error)
ParseConfig extracts the module config from the ExtraConfig and returns a struct suitable for using the botdetector package
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.