# apiserver **Repository Path**: ayuran/apiserver ## Basic Information - **Project Name**: apiserver - **Description**: apiserver.. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-19 - **Last Updated**: 2024-08-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # yoofinds_api ### 目录结构 ```text ├── app │   ├── api // 里面为业务模块 │   │   ├── book // 具体业务模块 │   │   │   ├── handle // 控制层 │   │   │   ├── model // db映射类 │   │   │   ├── router.go // 路由 │   │   │   ├── service // 业务逻辑处理 │   │   │   ├── request // 请求参数 │   │   │   ├── response // 响应 │   │   └── router.go // 所有业务的父路由 │   └── middleware // 中间件 ├── cmd // 命令集合 ├── conf // 配置文件 ├── initialize // 初始化 ├── pkg // 内部依赖包 │   ├── common // 组件包 │   │   ├── kafka │   │   ├── log // 日志 │   │   ├── mysql │   │   ├── redis │   ├── config // 配置类 │   ├── consts // 常量 │   └── hook // 钩子函数 │   └── mqmsg // 消息队列消息体 │   ├── utils // 工具类 ├── logs // 日志目录 └── tests // 测试文件 ├── main.go // 执行入口 ``` ### 启动项目 ```shell make run server ``` 或者 ```shell go run main.go --conf-file=conf/conf.dev.yaml server ```