config

package
v0.0.0-...-cfc888a Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 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 {
	HerokuPort    string
	HerokuURL     string
	TgToken       string
	MongoDBURI    string
	DBName        string
	ImgurClientID string
}

Config is the configuration of this app

func Get

func Get() *Config

Get the configuration from environment variable

Jump to

Keyboard shortcuts

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