A ready-to-use and simple go-micro router
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
René Jochum 216d5e8ba9 Load the configuration on start
Signed-off-by: René Jochum <rene@jochum.dev>
2 years ago
cmd/microrouterd Load the configuration on start 2 years ago
config Load the configuration on start 2 years ago
docker Add git tag versioning support 2 years ago
handler Initial commit 2 years ago
proto/routerclientpb Initial commit 2 years ago
util Initial commit 2 years ago
.gitignore Initial commit 2 years ago
LICENSE.spdx Initial commit 2 years ago
README.md Update the README 2 years ago
Taskfile.yml Load the configuration on start 2 years ago
go.mod Add some plugins for compatiblity with other registries and brokers 2 years ago
go.sum Add some plugins for compatiblity with other registries and brokers 2 years ago
handler.go Move some files 2 years ago
route.go Move some files 2 years ago

README.md

router

A dynamic router (API Gatway) for go-micro.

It looks for services that host "proto/routerclientpb/routerclientpb.RouterClient" and ask's them for routes/endpoints, then it registers that endpoints via a proxy method within gin.

Caveats

  • gin doesn't allow to delete routes, so if you want to delete a route you have to restart go-micro/router.

Build podman/docker image

Prerequesits

Build

task

Remove everything except the result created by task

task rm

Authors

License

Its dual licensed:

  • Apache-2.0
  • GPL-2.0-or-later