cfg

package
v0.0.0-...-d33b70a Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OpenAiBaseURL         = getEnvDefault("OPENAI_BASE_URL", "https://api.openai.com/")
	OpenAiToken           = getEnvDefault("OPENAI_TOKEN", "")
	OpenAiProxy           = getEnvDefault("OPENAI_PROXY", "")
	WhisperEndpoint       = getEnvDefault("WHISPER_ENDPOINT", "")
	WhisperEndpointSchema = getEnvDefault("WHISPER_ENDPOINT_SCHEMA", "http")
)
View Source
var (
	HttpPort    = getEnvDefault("HTTP_PORT", "6636")
	ShareDomain = getEnvDefault("SHARE_DOMAIN", "http://localhost")
)
View Source
var (
	BarkNotifyDomain = os.Getenv("BARK_NOTIFY_DOMAIN")
	BarkNotifyToken  = os.Getenv("BARK_NOTIFY_TOKEN")
)
View Source
var (
	MongoDBConn = getEnvDefault("MONGODB_CONN", "mongodb://localhost:27017")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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