Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
KeyFile string
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Key []byte Level string `default:"info"` Address string `default:"127.0.0.1"` Port int `default:"7777"` DBPath string `default:"./db.bolt"` AdminRole string `default:"admin"` UserRole string `default:"user"` SignAdminToken bool SignDuration time.Duration SignEmail string GenerateKey bool }
Click to show internal directories.
Click to hide internal directories.