aboutsummaryrefslogtreecommitdiff
path: root/robo.go
diff options
context:
space:
mode:
Diffstat (limited to 'robo.go')
-rw-r--r--robo.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/robo.go b/robo.go
index 2344a50..d7757ce 100644
--- a/robo.go
+++ b/robo.go
@@ -120,6 +120,12 @@ func send(c *bufio.Writer, a ...interface{}) {
etx(c)
}
+func Raw(c *bufio.Writer, a ...interface{}) {
+ for _, cmd := range a {
+ send(c, cmd)
+ }
+}
+
func Version(c *bufio.ReadWriter) string {
send(c.Writer, "FG")
return recv(c.Reader)