We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
micro runtime
services
micro api
micro proxy
micro auth
go-micro
user-api
user-srv
handler
srv
proto
proto client
starter-kit
/account/login/info
/console/v1/gin
/api/account/login/info
/api/console/v1/gin
The text was updated successfully, but these errors were encountered:
两种方式:
Sorry, something went wrong.
No branches or pull requests
micro runtime
提供了一系列的默认services
,譬如micro api
、micro proxy
、micro auth
等等,而实际使用过程中,我自己会基于go-micro
框架开发自己的服务,进而又对micro提供的默认网关进行改造(学习micro-in-cn中的案例),使其具有鉴权、熔断、流量染色等一系列功能,最终运行服务过程中,我只是运行了自己的网关,运行了自己的服务,压根没有使用micro runtime
提供给我的其他服务,请问这是否是正确的做法?user-api
以及配套的user-srv
两个服务,这两个服务都要定义proto,其中user-api
扮演user-srv
的客户端,最终暴露接口给micro api
,有micro api统一提供接口给外部访问,请问如果我不使用user-api
,直接使用gin的路由构建一个路由访问控制,对应的handler
中引入各个srv
的proto
,调用proto client
访问后面的srv
会有什么负面的影响吗?starter-kit
项目中,api的格式都是直接使用默认resolver,导致最终暴露的接口是/account/login/info
或者/console/v1/gin
这种形式,倘若想让暴露出去的接口都有统一前缀,譬如/api/account/login/info
或者/api/console/v1/gin
,官方文档中提到了resolver,但似乎没有example描述该如何使用,请问能否给予一点指导,感谢!The text was updated successfully, but these errors were encountered: