This commit is contained in:
crusader
2017-12-08 17:31:45 +09:00
parent 47d4a0b57d
commit fb7d1ca4d6
32 changed files with 378 additions and 515 deletions

View File

@@ -6,7 +6,6 @@ import (
"git.loafle.net/commons_go/logging"
cunu "git.loafle.net/commons_go/util/net/url"
cwfc "git.loafle.net/commons_go/websocket_fasthttp/client"
"git.loafle.net/overflow/overflow_probes/config"
)
@@ -14,7 +13,7 @@ func NewSocketBuilder(entryPath string) *SocketBuilders {
sb := &SocketBuilders{}
url, err := cunu.Join(config.Config.Central.URL, entryPath)
if nil != err {
logging.Logger().Error(fmt.Sprintf("Auth: Cannot create SocketBuilder %v", err))
logging.Logger().Error(fmt.Sprintf("Probe: Cannot create SocketBuilder %v", err))
return nil
}
sb.URL = url
@@ -26,3 +25,8 @@ func NewSocketBuilder(entryPath string) *SocketBuilders {
type SocketBuilders struct {
cwfc.SocketBuilders
}
func (sb *SocketBuilders) Validate() {
sb.SocketBuilders.Validate()
}