mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
memlogd: use net.Conn rather than *net.UnixConn
There's no need to be so specific about the connection implementation. Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
parent
c92af038fb
commit
3e742018d6
@ -37,12 +37,12 @@ const (
|
||||
)
|
||||
|
||||
type queryMessage struct {
|
||||
conn *net.UnixConn
|
||||
conn net.Conn
|
||||
mode logMode
|
||||
}
|
||||
|
||||
type connListener struct {
|
||||
conn *net.UnixConn
|
||||
conn net.Conn
|
||||
cond *sync.Cond // condition and mutex used to notify listeners of more data
|
||||
buffer bytes.Buffer
|
||||
err error
|
||||
|
Loading…
Reference in New Issue
Block a user