23 lines
410 B
Go
23 lines
410 B
Go
package main
|
|
|
|
type Config struct {
|
|
App struct {
|
|
Name string `json:"name"`
|
|
Version string `json:"version"`
|
|
MotdHTML string `json:"motd"`
|
|
}
|
|
|
|
Web struct {
|
|
Port int `json:"port"`
|
|
BindTo string `json:"bind_to"`
|
|
Extern string `json:"extern"`
|
|
Title string `json:"title"`
|
|
}
|
|
|
|
Hub struct {
|
|
Address string `json:"address"`
|
|
Port int `json:"port"`
|
|
Tag string `json:"tag"`
|
|
}
|
|
}
|