From 51062863a5c34d81e296cf15c61140911037cf3b Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 6 Aug 2018 21:47:05 +0200 Subject: Use mod vendor for vendored directory (backwards compatible) --- vendor/github.com/mrexodia/wray/examples/publish.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 vendor/github.com/mrexodia/wray/examples/publish.go (limited to 'vendor/github.com/mrexodia/wray/examples/publish.go') diff --git a/vendor/github.com/mrexodia/wray/examples/publish.go b/vendor/github.com/mrexodia/wray/examples/publish.go deleted file mode 100644 index 9a08a376..00000000 --- a/vendor/github.com/mrexodia/wray/examples/publish.go +++ /dev/null @@ -1,15 +0,0 @@ -package main - -import "github.com/pythonandchips/wray" -import "fmt" - -func main() { - wray.RegisterTransports([]wray.Transport{ &gofaye.HttpTransport{} }) - client := wray.NewFayeClient("http://localhost:5000/faye") - - params := map[string]interface{}{"hello": "from golang"} - fmt.Println("sending") - client.Publish("/foo", params) -} - - -- cgit v1.2.3