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 {
|
|
|
|
sb := newSocketBuilder(address)
|
|
|
|
sb.SocketHandler = socketHandler
|
|
|
|
return sb
|
2017-12-05 05:20:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SocketBuilders struct {
|
|
|
|
csc.SocketBuilders
|
|
|
|
}
|