commons-go/config/probe/central.go

13 lines
341 B
Go
Raw Normal View History

2018-04-26 07:37:59 +00:00
package probe
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-14 08:56:30 +00:00
Address string `required:"true" json:"address"`
2018-04-12 09:54:44 +00:00
Connector *csswc.Connectors `required:"true" json:"connector"`
2018-04-14 08:56:30 +00:00
Proxy *config.Proxy `json:"proxy,omitempty"`
2018-04-12 06:07:36 +00:00
}