0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

move to websockets

This commit is contained in:
Zack Scholl 2018-06-28 16:53:20 -07:00
parent ffebb472b9
commit 6f1e6f3da8
2 changed files with 53 additions and 1 deletions

View file

@ -12,6 +12,10 @@ import (
"github.com/pkg/errors"
)
func (c *Croc) updateChannel(p payloadChannel) (r response, err error) {
}
func (c *Croc) startServer(tcpPorts []string, port string) (err error) {
// start cleanup on dangling channels
go c.channelCleanup()