anycable-go

command module
v0.0.0-...-7d1957d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2017 License: MIT Imports: 14 Imported by: 0

README

AnyCable-Go WebSocket Server

WebSocket server for Anycable.

Installation

The easiest way to install AnyCable-Go is to download a pre-compiled binary.

Of course, you can install it from source too:

go get -u -f github.com/anycable/anycable-go

Usage

Run server:

anycable-go -rpc=0.0.0.0:50051 -redis=redis://localhost:6379/5 -redis_channel=anycable -addr=0.0.0.0:8080 -debug

You can also provide configuration parameters through the corresponding environment variables (i.e. RPC, REDIS, etc).

Build

make

Docker

See available images here.

ActionCable Compatibility

Feature Status
Connection Identifiers +
Connection Request (cookies, params) +
Disconnect Handling +
Subscribe to channels +
Parameterized subscriptions +
Unsubscribe from channels +
Performing Channel Actions +
Streaming +
Usage of the same stream name for different channels +
Broadcasting +
Custom stream callbacks -
Subscription Instance Variables -

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/anycable/anycable-go.

License

The library is available as open source under the terms of the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package anycable is a generated protocol buffer package.
Package anycable is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL