Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 555 Bytes

readme.md

File metadata and controls

28 lines (22 loc) · 555 Bytes

项目结构概览:

├── config	配置文件
├── domain	业务逻辑
├── dto	传输数据结构
│   ├── req	请求数据
│   └── resp	响应数据
├── gerror	错误信息
├── model	逻辑数据结构模型定义
├── persist	持久化
│   └── mysql	mysql持久化
└── router	api路由endpoint
  • First of all,you should copy config.toml.example as config.toml,then give the correct configuration.

  • build:

make build
  • run:
./build/bin/LightServer