config

package
v0.0.0-...-bf0e07c Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MPL-2.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 {
	Username       string `env:"USER" envDefault:"logbeam"`
	Password       string `env:"PASSWORD" envDefault:"logbeam"`
	Secret         string `env:"SECRET" envDefault:"logbeam"`
	RetentionHours uint64 `env:"RETENTION_HOURS" envDefault:"48"`
}

func Read

func Read() (*Config, error)

Jump to

Keyboard shortcuts

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