overflow_probes/client/central/data/socket_builders.go
crusader 2551703bc2 ing
2017-12-09 17:41:43 +09:00

28 lines
581 B
Go

package data
import (
cwfc "git.loafle.net/commons_go/websocket_fasthttp/client"
oocmp "git.loafle.net/overflow/overflow_commons_go/modules/probe"
oopcc "git.loafle.net/overflow/overflow_probes/client/central"
)
func newSocketBuilder() cwfc.SocketBuilder {
sb := &SocketBuilders{}
sb.SocketBuilders = oopcc.NewSocketBuilder(oocmp.HTTPEntry_Data)
if nil == sb.SocketBuilders {
return nil
}
sb.SocketHandler = newSocketHandler()
return sb
}
type SocketBuilders struct {
*oopcc.SocketBuilders
}
func (sb *SocketBuilders) Validate() {
sb.SocketBuilders.Validate()
}