aboutsummaryrefslogtreecommitdiff
path: root/device.go
diff options
context:
space:
mode:
Diffstat (limited to 'device.go')
-rw-r--r--device.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/device.go b/device.go
new file mode 100644
index 0000000..ea8c416
--- /dev/null
+++ b/device.go
@@ -0,0 +1,8 @@
+package main
+
+import "bufio"
+
+type Devicer interface {
+ Close()
+ Handle() *bufio.ReadWriter
+}