deno/echo.go

12 lines
209 B
Go
Raw Normal View History

2018-05-29 01:50:44 +00:00
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
2018-05-29 08:28:32 +00:00
package deno
2018-05-23 20:45:01 +00:00
// For testing
func InitEcho() {
Sub("echo", func(buf []byte) []byte {
Pub("echo", buf)
return nil
})
}