overflow_discovery/client/socket_builders.go
crusader 7e2813ad35 ing
2017-12-05 11:52:14 +09:00

22 lines
368 B
Go

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