(c *gin.Context)
| 18 | ) |
| 19 | |
| 20 | func GetCodexChannelUsage(c *gin.Context) { |
| 21 | fetchCodexChannelWhamData( |
| 22 | c, |
| 23 | service.FetchCodexWhamUsage, |
| 24 | "failed to fetch codex usage", |
| 25 | "获取用量信息失败,请稍后重试", |
| 26 | ) |
| 27 | } |
| 28 | |
| 29 | func GetCodexChannelRateLimitResetCredits(c *gin.Context) { |
| 30 | fetchCodexChannelWhamData( |
nothing calls this directly
no test coverage detected