Documentation ¶
Index ¶
- type AWSSettings
- type ApplicationSettings
- type CalendarSettings
- type DatabaseSettings
- type GoogleOAuthSettings
- type Integrations
- type MicrosoftMobileOAuthSettings
- type MicrosoftWebOAuthSettings
- type RedisSettings
- type ResendSettings
- type SearchSettings
- type SessionSettings
- type Settings
- type SuperUserSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSSettings ¶
type ApplicationSettings ¶
type CalendarSettings ¶
type DatabaseSettings ¶
type DatabaseSettings struct { Username string Password *m.Secret[string] Port uint Host string DatabaseName string RequireSSL bool }
func (*DatabaseSettings) PostgresConn ¶
func (s *DatabaseSettings) PostgresConn() string
func (*DatabaseSettings) WithDb ¶
func (s *DatabaseSettings) WithDb() string
func (*DatabaseSettings) WithoutDb ¶
func (s *DatabaseSettings) WithoutDb() string
type GoogleOAuthSettings ¶
type Integrations ¶
type Integrations struct { Google GoogleOAuthSettings MicrosoftWeb MicrosoftWebOAuthSettings MicrosoftMobile MicrosoftMobileOAuthSettings AWS AWSSettings Resend ResendSettings Search SearchSettings }
type RedisSettings ¶
type RedisSettings struct {
// contains filtered or unexported fields
}
func (*RedisSettings) Into ¶
func (r *RedisSettings) Into() *redis.Client
type ResendSettings ¶
type SearchSettings ¶
type SearchSettings struct {
URI string `env:"URI"`
}
type SessionSettings ¶
type SessionSettings struct { Redis RedisSettings PassPhrase *m.Secret[string] }
type Settings ¶
type Settings struct { Application ApplicationSettings Database DatabaseSettings DBCache RedisSettings Session SessionSettings RedisLimiter RedisSettings SuperUser SuperUserSettings Calendar CalendarSettings Integrations }
func GetConfiguration ¶
type SuperUserSettings ¶
Click to show internal directories.
Click to hide internal directories.