config

package
v0.0.0-...-6c5db76 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: AGPL-3.0 Imports: 2 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 {
	LogLevel          string `env:"LOG_LEVEL"`
	PGHost            string `env:"PG_HOST"`
	DockerHost        string `env:"DOCKER_HOST"`
	DockerNetwork     string `env:"DOCKER_NETWORK_NAME"`
	HoneypotImage     string `env:"HONEYPOT_IMAGE"`
	SSHHostKeysString string `env:"SSH_HOST_KEYS"`
	SSHServerVersion  string `env:"SSH_SERVER_VERSION"`
	SSHHostKeys       []string
	Port              int `env:"PORT"`
	HostBuffer        int `env:"HOST_BUFFER"`
}

Config holds all the config needed for the application

func GetConfig

func GetConfig() (Config, error)

GetConfig returns the configuration

Jump to

Keyboard shortcuts

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