# Atmos-API3 **Repository Path**: lilidream/atmos-api3 ## Basic Information - **Project Name**: Atmos-API3 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-12 - **Last Updated**: 2026-01-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Atmos-API 3 Atmos 科研服务器的 API。v3 版本使用 Golang 实现,提升了性能,并且整合了之前读取 NetCDF 的功能,不需要用 PHP 联动 Go 了。 ## 目录架构 - `handler/`: 各类接口的处理逻辑 - `model/`: 数据结构定义 - `config/`: 配置文件 - `util/`: 工具函数 此后端会创建一个数据用于储存用户数据,数据库连接与功能在 `handler/user/db.go` 中实现。 如果你想开发新功能,请在 `handler/` 目录下创建,之后在 `main.go` 中注册路由。 ## 编译 因为服务器上的 C 语言库版本旧,在其他机器编译后,部署会遇到版本问题。同时 NC 读取功能,又调用了 NetCDF 的 C 库,不能将 C 库一起打包,所以需要在服务器上编译。 To Build: ```bash go build -o build/atmos_api3 main.go ```