configs

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AccessToken access token key
	AccessToken string = "access_token"
	// Secret secret key
	Secret string = "secret"
)

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(key string) (string, error)

GetConfig get configs with key

func InitConfig

func InitConfig()

InitConfig reads in configs file and ENV variables if set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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