Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
App = getSettings()
)
Functions ¶
This section is empty.
Types ¶
type AdminConfig ¶
type RaftConfig ¶
type Settings ¶
type Settings struct { Raft RaftConfig `json:"raft" yaml:"raft"` Server SeverConfig `json:"server" yaml:"server"` Log log.LogSettings `json:"log" yaml:"log"` JWT middleware.JWTConfig `json:"jwt" yaml:"jwt"` Admin AdminConfig `json:"admin" yaml:"admin"` Monitor middleware.MonitorConfig `json:"monitor" yaml:"monitor"` }
type SeverConfig ¶
type SeverConfig struct {
Port int `yaml:"port" json:"port"`
}
Click to show internal directories.
Click to hide internal directories.