28 lines
581 B
Go
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()
|
|
|
|
}
|