Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = Configure{ Data: "data", DefaultPassword: "123456", Web: ":8080", Database: db.Options{ Type: "sqlite", URL: "sqlite3.db", Debug: false, LogLevel: 4, Sync: true, }, Broker: broker.Options{ Url: "internal", }, Log: log.Options{ Level: "trace", Caller: true, Text: false, }, }
Config 全局配置
Functions ¶
Types ¶
type Configure ¶
type Configure struct { Data string `yaml:"data" json:"data"` DefaultPassword string `yaml:"default_password" json:"default_password"` Web string `yaml:"web" json:"web"` Broker broker.Options `yaml:"broker" json:"broker"` Database db.Options `yaml:"database" json:"database"` Log log.Options `yaml:"log" json:"log"` }
Configure 配置
Click to show internal directories.
Click to hide internal directories.