1 Star 15 Fork 3

ftdxl / nood

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.en.md 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
ftdxl 提交于 2023-09-15 17:56 . 初始化项目

nood

Description

An out of the box framework based on the gin framework using the MVC design pattern. This framework integrates WebSocket services, layui.js, zap logs, GORM2, and redis.

####Characteristics This framework is suitable for developing small and medium-sized services, especially for personal development. It is easy to get started, flexible to expand, and uses Golang like PHP

Software Architecture

Directory:

Configuration file: ./conf.json

Example HTTP request to view file: app/controller/http/example/take. go

WS Request Example View File: app/controller/ws/test/test. go

Installation

  1. Install Git

  2. Execute git clone https://gitee.com/ftdxl/nood.git

  3. Enter the project directory and execute go run main.go

####Tutorial

HTTP service:

  1. Execute go run main.go

  2. Browser request: http://127.0.0.1:8080/example/take

Ws service:

  1. Connect ws://127.0.0.1:8080/ws

  2. Send message {"cmd": "login", "data": {"token": "sdgdfghkjf"}, "seq": "372"}

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ftdxl/nood.git
git@gitee.com:ftdxl/nood.git
ftdxl
nood
nood
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891