config

package
v0.0.0-...-bc7a4b5 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 5 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 {
	Service
	Logging
}

func Load

func Load(filenames ...string) (*Config, error)

type Logging

type Logging struct {
	LoggingLevel     int  `envconfig:"LOG_LEVEL" default:"-4"`
	LoggingDevOutput bool `envconfig:"LOG_DEV_OUTPUT" default:"true"`
}

type Service

type Service struct {
	ServicePort string `envconfig:"SERVICE_PORT" required:"true"`
}

Jump to

Keyboard shortcuts

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