summaryrefslogtreecommitdiff
path: root/echo.go
diff options
context:
space:
mode:
Diffstat (limited to 'echo.go')
-rw-r--r--echo.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/echo.go b/echo.go
new file mode 100644
index 000000000..b0db58471
--- /dev/null
+++ b/echo.go
@@ -0,0 +1,9 @@
+package main
+
+// For testing
+func InitEcho() {
+ Sub("echo", func(buf []byte) []byte {
+ Pub("echo", buf)
+ return nil
+ })
+}