config

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(value string, defaultValue ...string) string

Types

type AppConfig

type AppConfig struct {
	Addr                   string
	Service                string
	IsDevelopment          bool
	GracefulshutdownConfig func(fns ...func() error) gracefulshutdown.Config
	// contains filtered or unexported fields
}

func New

func New() *AppConfig

Jump to

Keyboard shortcuts

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