mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 04:47:38 +02:00
flatten tio.Capabilities
This commit is contained in:
@@ -42,6 +42,10 @@ type UserDevice struct {
|
||||
batchRet [1]tio.Packet
|
||||
}
|
||||
|
||||
func (d *UserDevice) Capabilities() tio.Capabilities {
|
||||
return tio.Capabilities{}
|
||||
}
|
||||
|
||||
func (d *UserDevice) Read() ([]tio.Packet, error) {
|
||||
if d.readBuf == nil {
|
||||
d.readBuf = make([]byte, defaultBatchBufSize)
|
||||
|
||||
Reference in New Issue
Block a user