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
Click to show internal directories.
Click to hide internal directories.