config

package
v0.0.0-...-d1151a3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: MIT 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 {
	Port         int16  `default:"8080" split_words:"true"`
	Region       string `default:"local" split_words:"true"`
	ESEndpoint   string `default:"http://localhost:9200" split_words:"true"`
	SignESClient bool   `default:"false" split_words:"true"`
	Develop      bool   `default:"false" split_words:"true"`
	Debug        bool   `default:"false" split_words:"true"`
}

Config from env vars

func New

func New() *Config

New returns the application config

Jump to

Keyboard shortcuts

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