Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigMap ¶
type ConfigMap struct { Debug bool `hcl:"debug"` Env string `hcl:"env"` Timezone string `hcl:"timezone"` Redis RedisConfig `hcl:"redis,block"` DB DBConfig `hcl:"db,block"` Oauth OauthConfig `hcl:"oauth,block"` S3 S3Config `hcl:"s3,block"` Sentry SentryConfig `hcl:"sentry,block"` JWT JWTConfig `hcl:"jwt,block"` Recaptcha RecaptchaConfig `hcl:"recaptcha,block"` }
type JWTExpiresAt ¶
type JWTToken ¶
type JWTToken struct { Secret string `hcl:"secret"` ExpiresAt JWTExpiresAt `hcl:"expires_at,block"` }
func (JWTToken) GetExpireDuration ¶
func (JWTToken) GetSecretAtBytes ¶
type OauthClient ¶
type OauthConfig ¶
type OauthConfig struct { RegistrationByOauth bool `hcl:"registration_by_oauth"` Google OauthClient `hcl:"google,block"` Spotify OauthClient `hcl:"spotify,block"` }
type RecaptchaConfig ¶
type RedisConfig ¶
type SentryConfig ¶
Click to show internal directories.
Click to hide internal directories.