Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DB struct { Path string `toml:"path"` } `toml:"db"` Admin struct { Email string `toml:"email"` Name string `toml:"name"` Password string `toml:"password"` } `toml:"admin"` Storage struct { Path string `toml:"path"` } `toml:"storage"` Web struct { Port int64 `toml:"port"` Host string `toml:"host"` PublicLink string `toml:"public_link"` SessionName string `toml:"session_name"` SecretKey string `toml:"secret_key"` } `toml:"web"` CSRF struct { CsrfString string `toml:"csrf_string"` } `toml:"csrf"` }
config reader from toml file
Click to show internal directories.
Click to hide internal directories.