anxiousmodernman / co-chair Goto Github PK
View Code? Open in Web Editor NEWdynamic proxy
License: Apache License 2.0
dynamic proxy
License: Apache License 2.0
Some examples of usage:
johanbrandhorst/grpcweb-boilerplate@0fa0da7
Not sure if co-chair does this but what about clustering using boltdb raft ?
That is how consul do it but since you want a very simple system you can just use one of the boltdb raft libraries.
A list of proxied backends is our main UI view. Every active proxy has a "delete" button. Clicking this button issues the correct grpc call to the backend, but in the UI only the last item is removed. We should remove the item corresponding to the button clicked.
We're just a tcp listener at our core. Test with some packet crafting tools to try and break things.
Examples:
http://sectools.org/tag/packet-crafters/
https://nmap.org/nsedoc/
We need to bundle compiled Typescript, CSS, and HTML into the golang binary with some modifications
to our build script.
There might be some changes in web.go to serve different assets, it's TBD.
Give prominent credit to all the awesome projects we depend on.
Now that we've switched to TypeScript, we need to wire up the front end to the backend.
How do we generate ts code from protobuf?
How do we call the backend from the TypeScript frontend?
Loaded in init
:
Store = sessions.NewCookieStore([]byte("something-very-secret"))
Maybe randomness is a suitable default, as well. The worst that should happen is folks lose their session on restart. A bummer, but more secure than hardcoding something.
Tracking this PR: improbable-eng/grpc-web#137
When this (or similar) lands, we can deprecate uses of
import "github.com/johanbrandhorst/protobuf/wsproxy"
Very cool project and impressive use of lots of new stuff.
It says it proxies tcp, so does that mean that i can proxy a GRPC client server interaction, web sockets and maybe even udp stuff like QUIC ?
We rely on API clients to send cert and key as []byte
when adding a backend to the proxy. When we receive a connection, we look at the domain on the request and query the database to find the associated entry with the cert we require.
one.example.com
and two.example.com
, they would both need duplicate bytes for a valid *.example.com
wildcard cert.Our goal is to do what Caddy does, which is to attempt to transparently provide https via letsencrypt if a path to a cert and key are not provided.
We'll also want to:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.