config

package
v0.0.0-...-4641271 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 6 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 `envconfig:"LOGGER_LEVEL" default:"debug"`
	ServiceBind string `envconfig:"BIND_ADDR" default:"0.0.0.0:9095"`
}

func MustGet

func MustGet() Config

func (Config) Logger

func (cfg Config) Logger() (logger zerolog.Logger)

Jump to

Keyboard shortcuts

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