overflow_probe_container/client/socket_builders.go
crusader d57710e28e ing
2017-12-15 16:34:12 +09:00

18 lines
332 B
Go

package client
import (
csc "git.loafle.net/commons_go/server/client"
)
func NewSocketBuilder(address string, socketHandler csc.SocketHandler) csc.SocketBuilder {
sb := &SocketBuilders{}
sb.Network = "tcp"
sb.Address = address
sb.SocketHandler = socketHandler
return sb
}
type SocketBuilders struct {
csc.SocketBuilders
}