Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "add_field"
ModuleName is the name used in config file
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
InitHandler initialize the filter plugin
Types ¶
type FilterConfig ¶
type FilterConfig struct { config.FilterConfig Key string `json:"key"` Value string `json:"value"` }
FilterConfig holds the configuration json fields and internal objects
func DefaultFilterConfig ¶
func DefaultFilterConfig() FilterConfig
DefaultFilterConfig returns an FilterConfig struct with default values
Click to show internal directories.
Click to hide internal directories.