mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +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 {
|
type queryMessage struct {
|
||||||
conn *net.UnixConn
|
conn net.Conn
|
||||||
mode logMode
|
mode logMode
|
||||||
}
|
}
|
||||||
|
|
||||||
type connListener struct {
|
type connListener struct {
|
||||||
conn *net.UnixConn
|
conn net.Conn
|
||||||
cond *sync.Cond // condition and mutex used to notify listeners of more data
|
cond *sync.Cond // condition and mutex used to notify listeners of more data
|
||||||
buffer bytes.Buffer
|
buffer bytes.Buffer
|
||||||
err error
|
err error
|
||||||
|
Loading…
Reference in New Issue
Block a user