예제 #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
파일: bench.go 프로젝트: rodrigue-h/gonode
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
	})
}