package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Apr 2, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type C struct {
JsonLogger bool `yaml:"jsonLogger"`
RateLimiting bool `yaml:"rateLimiting"`
BaseURL string `yaml:"baseURL"`
Port uint16 `yaml:"port"`
KeyStore string `yaml:"keyStore"`
SessionEncryptionKey string `yaml:"sessionEncryptionKey"`
DB DB `yaml:"db"`
Providers Providers `yaml:"providers"`
S3 S3 `yaml:"s3"`
Captcha Captcha `yaml:"captcha"`
Key Key
}
type Captcha struct {
Turnstile Turnstile `yaml:"turnstile"`
}
type DB struct {
Mysql Mysql `yaml:"mysql"`
Sqlite Sqlite `yaml:"sqlite"`
Turso Turso `yaml:"turso"`
}
type Mysql struct {
Enable bool `yaml:"enable"`
User string `yaml:"user"`
Password string `yaml:"password"`
Database string `yaml:"database"`
}
type Provider struct {
Enable bool `yaml:"enable"`
ClientID string `yaml:"clientID"`
ClientSecret string `yaml:"clientSecret"`
}
type Providers struct {
Google Provider `yaml:"google"`
Github Provider `yaml:"github"`
}
type S3 struct {
Bucket string `yaml:"bucket"`
Region string `yaml:"region"`
}
type Sqlite struct {
Enable bool `yaml:"enable"`
Path string `yaml:"path"`
}
type Turnstile struct {
Enable bool `yaml:"enable"`
SiteKey string `yaml:"siteKey"`
SecretKey string `yaml:"secretKey"`
}
type Turso struct {
Enable bool `yaml:"enable"`
Database string `yaml:"database"`
AuthToken string `yaml:"authToken"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.