# HTTP请求自动重试管理 **Repository Path**: wangdenuan/autohttp ## Basic Information - **Project Name**: HTTP请求自动重试管理 - **Description**: 使用Go语言编写,对于HTTP请求进行发送,如果失败会暂存并重试。 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-09-27 - **Last Updated**: 2022-09-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # autohttp 使用Go语言编写,对于HTTP请求进行发送,如果失败会暂存并重试。 ### 使用 在运行模块之前,需要初始化相关配置信息,具体说明参见代码中的注释: ```go import ( "gitee.com/xiaochengtech/autohttp" ) func main() { // 设置全局信息 autohttp.xxx = ... ... } ``` ### 数据库 模块会自动管理数据库,需要在数据库中,新建一张表,至少应包含如下字段: | 字段名 | 类型 | 是否主键 | 默认值 | 备注 | | :-: | :-: | :-: | :-: | :- | | id | uint64 | 是 | - | 主键,HTTP请求的唯一ID |