Giter Club home page Giter Club logo

Comments (3)

Jeffail avatar Jeffail commented on July 20, 2024

Hey @joeblew99, thanks! Websocket support is fairly easy to add, both as an input and as an output. I can likely do it in a about an hours work or so when I get a chance. I started winding down on developing available connectors until people started requesting them, but they are super easy to implement.

from connect.

joeblew99 avatar joeblew99 commented on July 20, 2024

thanks @Jeffail

Here is a basic test harness of the ideas to get the ball rolling.. Great work by github.com/orus-io.

# see readme as a combination of bits. See stack

# go get -u github.com/orus-io/nats-websocket-gw

ECHO_GO_PATH=github.com/labstack/echo
ECHO_FILE_PATH=${GOPATH}/src/${ECHO_GO_PATH}

PROXY_GO_PATH=github.com/orus-io/nats-websocket-gw
PROXY_FILE_PATH=${GOPATH}/src/${PROXY_GO_PATH}


check:

	@echo ${GOPATH}

	@echo "echo -- "
	@echo ${ECHO_GO_PATH}
	@echo ${ECHO_FILE_PATH}

	@echo "proxy -- "
	@echo ${PROXY_GO_PATH}
	@echo ${PROXY_FILE_PATH}


dep:

	go get -u ${ECHO_GO_PATH}/...

	go get -u ${PROXY_GO_PATH}


dep-clean:

	rm -rf ${FILE_PATH}

run:

	# fire up classic gnatsd
	gnatsd && go run main.go


from connect.

Jeffail avatar Jeffail commented on July 20, 2024

Hey @joeblew99, it took me a while to get around to this but we now have websocket support both as clients and on the http_server inputs and outputs.

from connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.