Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // 引擎 *gin.Engine `yaml:"-"` // 测试 Debug bool `yaml:"debug"` // 端口 0~65535 Port uint16 `yaml:"port"` // 动态 Oid string `yaml:"oid"` // 资源文件夹路径 Path Path `yaml:"path"` // Github 主页 Github Github `yaml:"github"` // 管理员 Administrators []string `yaml:"administrators"` }
webhook 配置
type Github ¶
type Path ¶
type Path struct { Root string `yaml:"root"` Views string `yaml:"views"` Public string `yaml:"public"` Posts string `yaml:"posts"` Users string `yaml:"users"` Log string `yaml:"log"` Full struct { Views string Public string Posts string Users string Log string Index string Version string } `yaml:"-"` }
资源文件夹路径
Click to show internal directories.
Click to hide internal directories.