Skip to content

This is a little experiment with RSocket in Go using rsocket-go

License

Notifications You must be signed in to change notification settings

itzg/try-rsocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a little experiment with RSocket in Go using rsocket-go

Try it out

Start the server

go run ./cmd/server/ --rsocket-binding=:8888 --inbound-binding=:9999

Start the client

go run ./cmd/client/ --client-id=one --server-address=localhost:8888

Start an inbound connection to server, such as with nc

nc localhost 9999

The first line of input needs to be the client ID. For the example above it would be:

one

All remaining inbound input lines are sent as messages from the server back to the client. The client will start a one-second interval ticker to simulate bidirectional activity.

About

This is a little experiment with RSocket in Go using rsocket-go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages