commons-go/probe/config/central.go

13 lines
342 B
Go
Raw Normal View History

2018-04-12 18:38:04 +09:00
package config
2018-04-12 15:07:36 +09:00
2018-04-12 18:54:44 +09:00
import (
csswc "git.loafle.net/commons/server-go/socket/web/client"
"git.loafle.net/overflow/commons-go/core/config"
)
2018-04-12 15:07:36 +09:00
type Central struct {
2018-04-14 17:56:30 +09:00
Address string `required:"true" json:"address"`
2018-04-12 18:54:44 +09:00
Connector *csswc.Connectors `required:"true" json:"connector"`
2018-04-14 17:56:30 +09:00
Proxy *config.Proxy `json:"proxy,omitempty"`
2018-04-12 15:07:36 +09:00
}