Skip to content

haggen/faye

Repository files navigation

godoc Go Report Card CircleCI codecov

Faye

Faye client in Go.

Warning

This is a work in progress. Expect it to be broken, partially or otherwise.

About

See Faye.

Example

package main

import "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.

About

Faye client in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages