configuration

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleEnvironmentVars

func HandleEnvironmentVars(config Config)

preparations for docker

Types

type Config

type Config = *ConfigStruct

func Load

func Load(location string) (config Config, err error)

type ConfigStruct

type ConfigStruct struct {
	EngineUrl     string `json:"engine_url"`
	MaxAge        string `json:"max_age"`
	BatchSize     int    `json:"batch_size"`
	FilterLocally bool   `json:"filter_locally"`
	Location      string `json:"location"`
	Interval      string `json:"interval"`
	Debug         bool   `json:"debug"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL