go-kratos / kratos

Your ultimate Go microservices framework for the cloud-native era.
https://go-kratos.dev
MIT License
23.43k stars 4.01k forks source link

[Question]how to get all router #3366

Closed kissIce closed 4 months ago

kissIce commented 4 months ago
image

how to get all api router and method. in my project i use casbin and it need set Policy. so i want get all api router and method then show it on page. and then set api Policy for everybody. i try find doc in website but canot get it. is anyone can help me? thk

shenqidebaozi commented 4 months ago

https://github.com/go-kratos/kratos/pull/2181