unidirectional_grpc

command
v0.0.0-...-90bf800 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 17 Imported by: 0

README

Example demonstrates a possibility of using Centrifuge with GRPC unidirectional transport.

The benefit here is that you get the scalable PUB/SUB system for real-time notifications using GRPC ecosystem.

The drawback: you need to unwrap Centrifuge protocol-encoded push frames (pretty simple though – see handlePush function in client example code).

To start server run the following command from example directory:

go run main.go

Then go to client folder and start a client:

go run main.go

You should see a successful connection to a server and different push frames coming from a server.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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