16 lines
298 B
Go
16 lines
298 B
Go
package client
|
|
|
|
import (
|
|
csc "git.loafle.net/commons_go/server/client"
|
|
)
|
|
|
|
func NewSocketBuilder(address string, socketHandler csc.SocketHandler) csc.SocketBuilder {
|
|
sb := newSocketBuilder(address)
|
|
sb.SocketHandler = socketHandler
|
|
return sb
|
|
}
|
|
|
|
type SocketBuilders struct {
|
|
csc.SocketBuilders
|
|
}
|