1 Star 0 Fork 0

写意/user_api

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

服务端+网关

项目描述

通过consul+gin+micro 实现的微服务demo, gin实现客户端, micro实现服务端

1 服务端注册到consul
2 客户端注册到cousul并暴漏客户端地址
3 客户端通过consul发现服务

前置条件

consul 搭建完成 http://127.0.0.1:8500 可以正常访问 具体教程 https://blog.csdn.net/qq_35786954/article/details/121508562

拉取依赖包

make tidy

运行服务端

make run

Empty file

About

第一个微服务,客户端+网端demo expand collapse
Cancel

Releases

No release

Contributors

All

Language(Optional)

Activities

can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/www.topwhere.cn/user_api.git
git@gitee.com:www.topwhere.cn/user_api.git
www.topwhere.cn
user_api
user_api
master

Search