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 09757541f8 Fix task release
Signed-off-by: René Jochum <rene@jochum.dev>
2 years ago
cmd/microrouterd Add versioning, serve routes over an internal service 2 years ago
config Add versioning, serve routes over an internal service 2 years ago
docker Add versioning, serve routes over an internal service 2 years ago
handler Add versioning, serve routes over an internal service 2 years ago
proto Add versioning, serve routes over an internal service 2 years ago
util Add plugins 2 years ago
.gitignore Initial commit 2 years ago
LICENSE.spdx Initial commit 2 years ago
README.md Fix no routes found 2 years ago
Taskfile.yml Fix task release 2 years ago
go.mod Remove log lines, add transport plugins 2 years ago
go.sum Remove log lines, add transport plugins 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 resulting podman images created by task

task rm

Authors

License

Its dual licensed:

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