Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn frames a byte stream (typically the upgraded relay connection) into silkd RPCs. Reads are single-consumer; Send is safe for concurrent use so a stdin pump can interleave with the caller.
func NewConn ¶
func NewConn(rwc io.ReadWriteCloser) *Conn
NewConn wraps rwc; the caller keeps ownership of closing via Close.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package silkdtest fakes a silkd daemon for host-side tests: deterministic frame semantics over any listener, plus the hybrid-vsock muxer handshake for tests that dial a UDS the way sandboxd does.
|
Package silkdtest fakes a silkd daemon for host-side tests: deterministic frame semantics over any listener, plus the hybrid-vsock muxer handshake for tests that dial a UDS the way sandboxd does. |
Click to show internal directories.
Click to hide internal directories.