config

package
v0.0.0-...-d770c28 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package config will load the ENV variables for constants we want to set dynamically.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constants

type Constants struct {
	Username string `yaml:"username" envconfig:"username" required:"true"`
	Password string `yaml:"password" envconfig:"password" required:"true"`
	OrgName  string `yaml:"orgname"  envconfig:"orgname"  required:"true"`
	Redis    Redis
}
var CONSTANTS Constants

type Redis

type Redis struct {
	Address string `yaml:"address" envconfig:"redis_address" required:"true"`
	Port    string `yaml:"port"    envconfig:"redis_port"    required:"true"`
}

Jump to

Keyboard shortcuts

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