server/tcp/server_handlers.go
crusader 4163705d49 ing
2017-10-27 16:07:14 +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)
}