env

package
v0.0.0-...-549c83c Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeLogger

func MakeLogger() (*zap.Logger, error)

Types

type Config

type Config struct {
	Region    string `env:"PHAROS_REGION"`
	DebugHTTP bool   `env:"PHAROS_DEBUG_HTTP"`
}

func LoadConfig

func LoadConfig(ctx context.Context) (*Config, error)

Jump to

Keyboard shortcuts

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