env

package
v0.2.10-0...-1d0e4ae Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: MIT Imports: 1 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          string `default:"3000"`
	BackendURL    string `split_words:"true"`
	RedisURL      string `default:"redis://localhost" split_words:"true"`
	CacheProvider string `default:"memory" split_words:"true"`
	TTL           string `default:"432000"` // five days in seconds
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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