server/tcp/tcp.go
crusader 187ef708f6 ing
2017-10-26 21:30:55 +09:00

17 lines
221 B
Go

package tcp
import (
"net"
"git.loafle.net/commons_go/server"
)
type ServerHandlers struct {
server.ServerHandlers
}
func (sh *ServerHandlers) Listen() (net.Listener, error) {
return net.Listen("tcp", sh.Addr)
}