Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port string `yaml:"port"` Web struct { CdnURL string `yaml:"cdn_url"` Jwt string `yaml:"jwt"` } `yaml:"web"` Database struct { URL string `yaml:"url"` } `yaml:"database"` Storage struct { Endpoint string `yaml:"endpoint"` Accesskey string `yaml:"accesskey"` Secretkey string `yaml:"secretkey"` Region string `yaml:"region"` Bucket string `yaml:"bucket"` } `yaml:"storage"` Endpoints struct { Sfw []string `yaml:"sfw" json:"sfw"` Nsfw []string `yaml:"nsfw" json:"nsfw"` } `yaml:"endpoints"` }
Config : Template for JSON Config
Click to show internal directories.
Click to hide internal directories.