18 lines
313 B
Go
18 lines
313 B
Go
|
package client
|
||
|
|
||
|
import (
|
||
|
csc "git.loafle.net/commons_go/server/client"
|
||
|
)
|
||
|
|
||
|
func NewSocketBuilder(address string) csc.SocketBuilder {
|
||
|
return newSocketBuilder(address)
|
||
|
}
|
||
|
|
||
|
type SocketBuilders struct {
|
||
|
csc.SocketBuilders
|
||
|
}
|
||
|
|
||
|
func (sb *SocketBuilders) SocketHandler() csc.SocketHandler {
|
||
|
return NewSocketHandler()
|
||
|
}
|