envs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BACKBLAZE_KEY_ID       string
	PROJECT_ID             string
	DALL_E_PREFIX          string
	DALLE_E_DUMMY_LINK     string
	DITTO_ENV              Env
	DITTO_CONTENT_ENDPOINT string
	DITTO_CONTENT_REGION   string
	DITTO_CONTENT_BUCKET   string
	DITTO_CONTENT_PREFIX   string
	DB_URL_DITTO           string
	GCLOUD_PROJECT         string
	PRICE_ID_TOKENS_1B     string
	PRICE_ID_TOKENS_11B    string
	PRICE_ID_TOKENS_30B    string
	PRICE_ID_TOKENS_100B   string
	PRICE_ID_TOKENS_150B   string
	SEARCH_ENGINE_ID       string
)

Environment Variables

Functions

func Load

func Load() error

Types

type Env

type Env string
const (
	EnvLocal   Env = "local"
	EnvStaging Env = "staging"
	EnvProd    Env = "prod"
)

func (Env) EnvFile

func (e Env) EnvFile() EnvFile

func (Env) String

func (e Env) String() string

type EnvFile

type EnvFile string

func (EnvFile) Load

func (e EnvFile) Load() error

Jump to

Keyboard shortcuts

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