Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AdminEmail string `mapstructure:"ADMIN_EMAIL"` AdminUserName string `mapstructure:"ADMIN_USER_NAME"` AdminPassword string `mapstructure:"ADMIN_PASSWORD"` DBHost string `mapstructure:"DB_HOST"` DBName string `mapstructure:"DB_NAME"` DBUser string `mapstructure:"DB_USER"` DBPassword string `mapstructure:"DB_PASSWORD"` DBPort string `mapstructure:"DB_PORT"` AdminAuthKey string `mapstructure:"ADMIN_AUTH_KEY"` UserAuthKey string `mapstructure:"USER_AUTH_KEY"` TwilioAuthToken string `mapstructure:"AUTH_TOKEN"` TwilioAccountSID string `mapstructure:"ACCOUNT_SID"` TwilioServiceID string `mapstructure:"SERVICE_SID"` RazorPayKey string `mapstructure:"RAZOR_PAY_KEY"` RazorPaySecret string `mapstructure:"RAZOR_PAY_SECRET"` StripSecretKey string `mapstructure:"STRIPE_SECRET"` StripPublishKey string `mapstructure:"STRIPE_PUBLISH_KEY"` StripeWebhookSecret string `mapstructure:"STRIPE_WEBHOOK"` GoathClientID string `mapstructure:"GOAUTH_CLIENT_ID"` GoauthClientSecret string `mapstructure:"GOAUTH_CLIENT_SECRET"` GoauthCallbackUrl string `mapstructure:"GOAUTH_CALL_BACK_URL"` AwsAccessKeyID string `mapstructure:"AWS_ACCESS_KEY_ID"` AwsSecretKey string `mapstructure:"AWS_SECRET_ACCESS_KEY"` AwsRegion string `mapstructure:"AWS_REGION"` AwsBucketName string `mapstructure:"AWS_BUCKET_NAME"` }
to store env variables
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.