New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/adriacidre/nats_websocket_interface

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/adriacidre/nats_websocket_interface

  • v0.0.0-20151023074516-1b8bc4677e31
  • Source
  • Go
  • Socket score

Version published
Created
Source

Nats.io websocket interface

This is just a proof of concept in order to have a websocket interface for nats.

Run the examples

On three different terminals run:

Server is providing the server websocket interface and it's the only one really connected to nats.

$ go run server.go

Client is listening through websockets on the server.

$ go run client.go

Publisher sends a post message to the server with the subject and the body to be sent thorugh nats.

$ go run publisher.go

You can additionally run another example if you have access to nats itself, just publish a message with the subject the client is listening to, and the message should be printed on client output.

FAQs

Package last updated on 23 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc