Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ProjectName string `mapstructure:"PROJECT_NAME"` Debug bool `mapstructure:"DEBUG"` EmailOtpExpireSeconds int64 `mapstructure:"EMAIL_OTP_EXPIRE_SECONDS"` AccessTokenExpireMinutes int `mapstructure:"ACCESS_TOKEN_EXPIRE_MINUTES"` RefreshTokenExpireMinutes int `mapstructure:"REFRESH_TOKEN_EXPIRE_MINUTES"` Port string `mapstructure:"PORT"` SecretKey string `mapstructure:"SECRET_KEY"` FirstSuperuserEmail string `mapstructure:"FIRST_SUPERUSER_EMAIL"` FirstSuperUserPassword string `mapstructure:"FIRST_SUPERUSER_PASSWORD"` FirstWriterEmail string `mapstructure:"FIRST_WRITER_EMAIL"` FirstWriterPassword string `mapstructure:"FIRST_WRITER_PASSWORD"` FirstReaderEmail string `mapstructure:"FIRST_READER_EMAIL"` FirstReaderPassword string `mapstructure:"FIRST_READER_PASSWORD"` PostgresUser string `mapstructure:"POSTGRES_USER"` PostgresPassword string `mapstructure:"POSTGRES_PASSWORD"` PostgresServer string `mapstructure:"POSTGRES_SERVER"` PostgresPort string `mapstructure:"POSTGRES_PORT"` PostgresDB string `mapstructure:"POSTGRES_DB"` TestPostgresDB string `mapstructure:"TEST_POSTGRES_DB"` MailSenderEmail string `mapstructure:"MAIL_SENDER_EMAIL"` MailFrom string `mapstructure:"MAIL_FROM"` MailSenderPassword string `mapstructure:"MAIL_SENDER_PASSWORD"` MailSenderHost string `mapstructure:"MAIL_SENDER_HOST"` MailSenderPort int `mapstructure:"MAIL_SENDER_PORT"` MailApiKey string `mapstructure:"MAIL_API_KEY"` BrevoListID int `mapstructure:"BREVO_LIST_ID"` BrevoContactsUrl string `mapstructure:"BREVO_CONTACTS_URL"` CORSAllowedOrigins string `mapstructure:"CORS_ALLOWED_ORIGINS"` CORSAllowCredentials bool `mapstructure:"CORS_ALLOW_CREDENTIALS"` GoogleClientID string `mapstructure:"GOOGLE_CLIENT_ID"` GoogleClientSecret string `mapstructure:"GOOGLE_CLIENT_SECRET"` FacebookAppID string `mapstructure:"FACEBOOK_APP_ID"` SocialsPassword string `mapstructure:"SOCIALS_PASSWORD"` EmailVerificationPath string `mapstructure:"EMAIL_VERIFICATION_PATH"` PasswordResetPath string `mapstructure:"PASSWORD_RESET_PATH"` StripePublicKey string `mapstructure:"STRIPE_PUBLIC_KEY"` StripeSecretKey string `mapstructure:"STRIPE_SECRET_KEY"` StripeCheckoutSuccessUrlPath string `mapstructure:"STRIPE_CHECKOUT_SUCCESS_URL_PATH"` StripeWebhookSecret string `mapstructure:"STRIPE_WEBHOOK_SECRET"` SocketSecret string `mapstructure:"SOCKET_SECRET"` ICPPrivateKey string `mapstructure:"ICP_PRIVATE_KEY"` ICPPublicKey string `mapstructure:"ICP_PUBLIC_KEY"` PGAdminPassword string `mapstructure:"PGADMIN_PASSWORD"` CloudinaryCloudName string `mapstructure:"CLOUDINARY_CLOUD_NAME"` CloudinaryApiKey string `mapstructure:"CLOUDINARY_API_KEY"` CloudinaryApiSecret string `mapstructure:"CLOUDINARY_API_SECRET"` }
Click to show internal directories.
Click to hide internal directories.