示例#1
0
func main() {
	// Start the gonode listener which is an infinite loop until closed
	// It takes the processor function as only argument
	gonode.Start(process)
}
示例#2
0
func main() {
	gonode.Start(process)
}
示例#3
0
func main() {
	g.Start(process)
}
示例#4
0
文件: echo.go 项目: rodrigue-h/gonode
func main() {
	g.Start(func(cmd *json.Json) (resp *json.Json) {
		return cmd
	})
}