Documentation ¶
Index ¶
Constants ¶
View Source
const ( PORT = "PORT" ENV_SCOPE = "ENV_SCOPE" APP_ID = "APP_ID" APP_CERT = "APP_CERT" )
View Source
const ( PORT_FILE = "PORT_FILE" ENV_SCOPE_FILE = "ENV_SCOPE_FILE" APP_ID_FILE = "APP_ID_FILE" APP_CERT_FILE = "APP_CERT_FILE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitEnvInterface ¶
type InitEnvInterface interface { LoadEnvFile(providePath func() string) GetEnvScope() (string, error) GetAppId() (string, error) GetAppCert() (string, error) GetServerPort() (string, error) }
var (
InitEnv InitEnvInterface = &initenv{}
)
Abstract layer get enviroment variable keys and method to load the env files
Click to show internal directories.
Click to hide internal directories.