Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sigmavirus24/gobayeux

Implementation of Bayeux protocol from CometD for Go
https://github.com/sigmavirus24/gobayeux

bayeux bayeux-protocol cometd go golang http

Last synced: 22 days ago
JSON representation

Implementation of Bayeux protocol from CometD for Go

Awesome Lists containing this project

README

        

# gobayeux

[![PkgGoDev](https://pkg.go.dev/badge/github.com/sigmavirus24/gobayeux/v2)](https://pkg.go.dev/github.com/sigmavirus24/gobayeux/v2)
[![Test](https://github.com/sigmavirus24/gobayeux/workflows/Test/badge.svg)](https://github.com/sigmavirus24/gobayeux/actions?query=workflow:Test)
[![Build](https://github.com/sigmavirus24/gobayeux/workflows/Build/badge.svg)](https://github.com/sigmavirus24/gobayeux/actions?query=workflow:Build)
[![Lint](https://github.com/sigmavirus24/gobayeux/workflows/Lint/badge.svg)](https://github.com/sigmavirus24/gobayeux/actions?query=workflow:Lint)

Bayeux protocol library compatible with [CometD](https://cometd.org/)
and [Faye](https://faye.jcoglan.com/) servers.

### Documentation

- [API Reference](https://pkg.go.dev/github.com/sigmavirus24/gobayeux/v2)
- [Protocol specification](https://docs.cometd.org/current/reference/#_bayeux)

### Installation

```bash
go get github.com/sigmavirus24/gobayeux/v2
```

### Status

Library provides a basic set of features to start getting notification over `long-polling` transport.

### Protocol compliance

- [x] Handshake
- [x] Connect/Disconnect
- [x] Subscribe/Unsubscribe
- [ ] Publish and Delivery event messages
- [x] The long-polling transport
- [ ] The callback-polling transport
- [ ] The websocket transport

### Authors

- @sigmavirus24
- @L11R

### License

Apache 2.0