Sign inSign up

pcdummy/go-micro-router

By pcdummy

•Updated about 4 years ago

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

Image
0

888

pcdummy/go-micro-router repository overview

Github⁠

⁠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

Tag summary

Content type

Image

Digest

sha256:9fe875dd5…

Size

12.8 MB

Last updated

about 4 years ago

docker pull pcdummy/go-micro-router