package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 6, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type App struct {
Debug bool `yaml:"debug"`
BookmarksPerPage int64 `yaml:"bookmarks_per_page"`
DisableSignup bool `yaml:"disable_signup"`
}
type Config struct {
App App `yaml:"app"`
Server Server `yaml:"server"`
DB DB `yaml:"db"`
Storage Storage `yaml:"storage"`
SMTP SMTP `yaml:"smtp"`
}
type DB struct {
Connection string `yaml:"connection"`
Type string `yaml:"type"`
}
type SMTP struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Username string `yaml:"username"`
Password string `yaml:"password"`
Sender string `yaml:"sender"`
TLS bool `yaml:"tls"`
TLSAllowInsecure bool `yaml:"tls_allow_insecure"`
SendTimeout int `yaml:"send_timeout"`
ConnectionTimeout int `yaml:"connection_timeout"`
}
type Server struct {
Address string `yaml:"address"`
BaseURL string `yaml:"base_url"`
}
type Storage struct {
Type string `yaml:"type"`
Root string `yaml:"root"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.