commons-go/probe/config/central.go

14 lines
388 B
Go
Raw Normal View History

2018-04-12 09:38:04 +00:00
package config
2018-04-12 06:07:36 +00:00
2018-04-12 09:54:44 +00:00
import (
csswc "git.loafle.net/commons/server-go/socket/web/client"
"git.loafle.net/overflow/commons-go/core/config"
)
2018-04-12 06:07:36 +00:00
type Central struct {
2018-04-12 09:54:44 +00:00
Host string `required:"true" json:"host"`
Port int `required:"true" json:"port"`
Connector *csswc.Connectors `required:"true" json:"connector"`
Proxy *config.Proxy `json:"proxy"`
2018-04-12 06:07:36 +00:00
}