Skip to content

Sandwichzzy/Pledge_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pledge-backend

The project is divided into two parts, one is API and the other is scheduled task

API

cd api
go run pledge_api.go

pool task

cd schedule
go run pledge_task.go

Pledge 后端项目结构

Pledge 后端项目结构

Pledge 后端项目结构

pledge-backend/ ├── api/ // 包含所有API相关的代码,例如HTTP处理程序 │ └── pledge_api.go // 处理Pledge相关的API请求 ├── config/ // 存放配置文件和配置管理代码 ├── contract/ // 包含智能合约相关的代码 │ └── bindings/ // 存放由abigen生成的合约绑定代码 │ └── pledgePoolToken.go // PledgePoolToken合约的Go绑定代码 ├── db/ // 数据库相关的代码,例如数据库连接和操作 ├── docs/ // 项目文档 ├── log/ // 日志相关的代码和配置 ├── schedule/ // 定时任务相关的代码 │ └── pledge_task.go // 处理Pledge相关的定时任务 ├── utils/ // 工具类代码,例如通用函数和帮助类 ├── go.mod // Go模块文件,定义项目依赖 ├── go.sum // Go模块的依赖版本锁定文件 └── README.md // 项目简介和使用说明

About

The project is divided into two parts, one is API and the other is scheduled task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages