https://github.com/haggen/faye
Faye client in Go.
https://github.com/haggen/faye
Last synced: 3 months ago
JSON representation
Faye client in Go.
- Host: GitHub
- URL: https://github.com/haggen/faye
- Owner: haggen
- License: mit
- Created: 2017-08-13T00:45:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-13T01:03:05.000Z (almost 8 years ago)
- Last Synced: 2025-01-17T09:10:20.175Z (5 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://godoc.org/github.com/haggen/faye)
[](https://goreportcard.com/report/github.com/haggen/faye)
[](https://circleci.com/gh/haggen/faye/tree/master)
[](https://codecov.io/gh/haggen/faye)# Faye
> Faye client in Go.
## Warning
This is a work in progress. Expect it to be broken, partially or otherwise.
## About
See [Faye](https://faye.jcoglan.com/).
## Example
```go
package mainimport "fmt"
import "github.com/haggen/faye"func main() {
f, err := faye.New("https://example.org/faye")
if err != nil {
panic(err)
}
channel := f.Subscribe("/channel")
for {
m := <-channel
fmt.Println(m.Data)
}
}
```## Legal
Faye (Go) package is under The MIT License © 2017 Arthur Corenzan.
Faye protocol is under The MIT License © 2009–2017 James Coglan.