Experimensts with websockets over yamux failed. Now going to use a second connection to the server from the agent.
13 lines
128 B
Go
13 lines
128 B
Go
package iowrappers
|
|
|
|
import (
|
|
"io"
|
|
"net"
|
|
)
|
|
|
|
type ReadWriteAddrCloser interface {
|
|
io.ReadWriteCloser
|
|
|
|
RemoteAddr() net.Addr
|
|
}
|