get_env

package
v0.0.0-...-ac058c7 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvInterface

type EnvInterface interface {
	//DATABASE ENV
	GetMysqlPassword() (string, error)
	GetMysqlDatabase() (string, error)
	GetMysqlUsername() (string, error)
	GetMysqlHost() (string, error)
	GetMysqlPort() (string, error)

	//AUTHORIZATION ENV
	GetAccessKey() (string, error)
	GetActivationKey() (string, error)
	GetRefereshKey() (string, error)
	GetPasswordKey() (string, error)
	GetEmailAPIKey() (string, error)
	GetSize() (string, error)

	//UTILITY ENV
	GetServerPort() (string, error)
	GetLocalAssets() (string, error)
	GetLocalHTML() (string, error)
	GetBaseURI() (string, error)
	GetUSERBaseURI() (string, error)
	GetNotificationAPIKey() (string, error)

	//MIDDLEWARE ENV
	GetProtectedTokenExtractionKey() (string, error)
	GetPublicTokenExtractionKey() (string, error)
	GetPublicAuth() (string, error)
}

EnvInterface : holds the signature function

var GetKey EnvInterface = &envfetch{}

Jump to

Keyboard shortcuts

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