Comments (3)
Hi Paul,
the server supports this even with unsubscribing connected clients etc. yet the CLI does not. You can use the tunnel as a library and register clients yourself see https://github.com/mmatczuk/go-http-tunnel/blob/master/cmd/tunneld/tunneld.go for reference how this can be done.
I'll add another issue to add control over that while running. Maybe a REST API on a dedicated port WDYT would be the most convenient to use for you?
from go-http-tunnel.
Right now i've solved it by adding a for {} to my main loop and running Server.Start() in a go func.
Either way a rest-api to add new clients would be great 👍
from go-http-tunnel.
@pault84 I moved the REST API to #21. If you value the tunnel please consider starring it to help the adoption, thanks!
from go-http-tunnel.
Related Issues (20)
- client not subscribed issue HOT 2
- Feature request. I would like an option for the tunnel to never be cut. HOT 1
- How to SSH to the client using go-http-tunnel implementation HOT 2
- ssh tunnel connection timeout HOT 7
- invalid identifier "2DZE5EU-...": check digit incorrect
- Please support web socket wss HOT 1
- How do you persist two subdomains in the tunnel.yml file? HOT 1
- too many open connections on socket after 3 hours of running the client
- Protocol Proxy Error HOT 2
- HTTP POST return 404
- NTLMv2 Support
- Can't run client on macos
- IF YOU WOULD LIKE TO SEE THIS PROJECT MODERNIZED PLEASE UPVOTE HOT 13
- Tunneld stops responding from time to time.
- License HOT 1
- compressed memory openwrt HOT 1
- self signed certificate error HOT 2
- Need to change the default port's used 80 and 443. HOT 1
- it was a domain problem and it worked again but when i want to connect to my node-red it says lost connection HOT 1
- Add note for go version required
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-http-tunnel.