Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringJSONArrayOrSlicesToConfig ¶
func StringJSONArrayOrSlicesToConfig() func(f reflect.Kind, t reflect.Kind, data interface{}) (interface{}, error)
StringJSONArrayOrSlicesToConfig will convert Json Encoded Strings to Maps or Slices, Used Primarily to support Slices and Maps in Environment variables
Types ¶
type AutoIndexPattern ¶
type AutoIndexPattern struct { Enabled bool GeneralPatterns []GeneralPattern Schedule string `validate:"required"` }
AutoIndexPattern for Config Unmarshalling
type Config ¶
type Config struct { Kibana Kibana `validate:"required"` Logging Logging `validate:"required"` AutoIndexPattern AutoIndexPattern `validate:"required"` }
Config for Config Unmarshalling
type GeneralPattern ¶
GeneralPattern for Config Unmarshalling
Click to show internal directories.
Click to hide internal directories.