You can not 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-fly
|
|
|
|
|
基于GO语言实现的即时通讯与管理系统工具集。
|
|
|
|
|
|
|
|
|
|
1.使用gin http框架实现restful风格的API
|
|
|
|
|
|
|
|
|
|
2.使用jwt-go实现无状态的jwt登陆认证
|
|
|
|
|
|
|
|
|
|
3.使用casbin实现权限控制
|
|
|
|
|
|
|
|
|
|
4.使用gin以及template包的模板语法进行展示界面
|
|
|
|
|
|
|
|
|
|
5.使用go modoule解决依赖问题
|
|
|
|
|
|
|
|
|
|
6.充分实践了struct,interface,map,slice,for range,groutine等基础知识
|
|
|
|
|
|
|
|
|
|
### 项目预览
|
|
|
|
|
|
|
|
|
|
![Image text](https://img2020.cnblogs.com/blog/726254/202005/726254-20200516183509721-1526715752.png)
|
|
|
|
|
|
|
|
|
|
![Image text](https://img2020.cnblogs.com/blog/726254/202005/726254-20200516183521692-598821905.png)
|
|
|
|
|
|
|
|
|
|
![Image text](https://img2020.cnblogs.com/blog/726254/202005/726254-20200516183534997-76603458.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 安装使用
|
|
|
|
|
|
|
|
|
|
1.在go get github.com/taoshihan1991/go-fly ,进入$GOPATH/src/github.com/taoshihan1991/go-fly 目录
|
|
|
|
|
|
|
|
|
|
2.源码运行 go run server.go
|
|
|
|
|
|
|
|
|
|
3.源码打包 go build server.go
|
|
|
|
|
|