config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MetricsPort    int                `koanf:"metrics_port"`
	ProbePort      int                `koanf:"probe_port"`
	LeaderElection bool               `koanf:"leader_election"`
	Domain         string             `koanf:"domain"`
	LoadbalancerIP string             `koanf:"loadbalancer_ip"`
	Cloudflare     *cloudflare.Config `koanf:"cloudflare"`
	Logger         *logger.Config     `koanf:"logger"`
}

func Load

func Load(print bool) *Config

Jump to

Keyboard shortcuts

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