converge/pkg/support/iowrappers/readwriteaddrcloser.go
Erik Brakkee 3867b0432d a lot of progress in setting up tests for the communication.
Wrote ChannelReadWriter that simulates a connection inmemory.
This is used by the agentserver test for testing the initialization. The
first test is already working.
2024-08-19 22:31:02 +02:00

13 lines
128 B
Go

package iowrappers
import (
"io"
"net"
)
type ReadWriteAddrCloser interface {
io.ReadWriteCloser
RemoteAddr() net.Addr
}