helper

package
v0.0.0-...-1305305 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCustomEnvs

func SetCustomEnvs(credentialsDir string)

SetCustomEnvs : sets environment variables from ./credentials/*

Types

type Envs

type Envs struct {
	Totp_label              string
	Build                   string
	Build_for               string
	Api_port                string
	Site_root               string
	App_root                string
	Gae_service             string
	Ibmid_authorization_url string
	Ibmid_token_url         string
	Ibmid_issuer_id         string
	Enable_2fa              string
	Fb_database_url         string
	Refresh_mins            string
	Initial_mins            string
}

Envs : see /.credentials/{env}/env.json

type Secrets

type Secrets struct {
	Fb_admin              string
	Send_in_blue_api_key  string
	Passport_secret       string
	Ibmid_client_id       string
	Ibmid_client_secret   string
	Ww_jwt_pepper_encoded string
}

Secrets : see /.credentials/{env}/secret.json

Jump to

Keyboard shortcuts

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