server/tcp/server_handlers.go

17 lines
221 B
Go
Raw Normal View History

2017-10-26 12:30:55 +00:00
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)
}