config

package
v1.2.23 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomConfig

func CustomConfig(cfg interface{}) error

If you want to use a custom configuration, you can use the CustomConfig function.

Types

type Config

type Config struct {
	Port                     string
	JWTSecret                string
	AdminKey                 string
	AdministratorKey         string
	BACKEND_URL              string
	DatabaseURL              string
	DatabaseName             string
	DatabaseHost             string
	DatabasePort             string
	DatabaseUser             string
	DatabasePassword         string
	RedisURL                 string
	RedisToken               string
	TwilioSID                string
	TwilioToken              string
	TwilioService            string
	TestPhoneNumbers         []string
	LogLevel                 string
	ApiKey                   string
	ClientID                 string
	ClientSecret             string
	AwsAccessKey             string
	AwsSecretKey             string
	AwsRegion                string
	AwsBucketName            string
	S3BucketRegion           string
	AwsBedrockRegion         string
	SendGridAPIKey           string
	StripeSecretKey          string
	MailgunAPIKey            string
	Environment              string
	WebhookSecret            string
	KARMAPAY_WEBHOOK         string
	KARMAPAY_PG_ENUM         string
	KARMAPAY_API_KEY         string
	KARMAPAY_IDENTIFIER      string
	KARMAPAY_APP_DOMAIN      string
	KARMAPAY_VERIFY_URL      string
	GOOGLE_AUTH_CALLBACK_URL string
	GOOGLE_CLIENT_ID         string
	GOOGLE_CLIENT_SECRET     string
}

func DefaultConfig

func DefaultConfig() *Config

Jump to

Keyboard shortcuts

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