overflow_probe_container/client/socket_builders.go

18 lines
332 B
Go
Raw Permalink Normal View History

2017-12-05 05:20:42 +00:00
package client
import (
csc "git.loafle.net/commons_go/server/client"
)
2017-12-05 07:29:42 +00:00
func NewSocketBuilder(address string, socketHandler csc.SocketHandler) csc.SocketBuilder {
2017-12-15 07:34:12 +00:00
sb := &SocketBuilders{}
sb.Network = "tcp"
sb.Address = address
2017-12-05 07:29:42 +00:00
sb.SocketHandler = socketHandler
return sb
2017-12-05 05:20:42 +00:00
}
type SocketBuilders struct {
csc.SocketBuilders
}