configuration

package
v0.0.0-...-a9834e4 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version string

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	HTTPListener  string
	HTTPSListener string
	APIListener   string
	DynamoDB      db.DynamoConnection
	TablePrefix   string
	LogLevel      string
	LogFormatter  string
	Bootstrap     bool
	Version       bool
	Help          bool
	StagingCA     bool
	APISecret     string
}

Configuration model

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration creates a new instance

func (*Configuration) FromEnv

func (c *Configuration) FromEnv()

FromEnv read the config from envs

func (*Configuration) FromParameter

func (c *Configuration) FromParameter()

FromParameter read config from application parameter

Jump to

Keyboard shortcuts

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