delete /api/transfer/v2

This commit is contained in:
UlricQin 2020-08-25 16:19:47 +08:00
parent 2a79303241
commit f5d050f3f2
2 changed files with 0 additions and 9 deletions

View File

@ -12,10 +12,6 @@ import (
)
func QueryData(c *gin.Context) {
// TODO 这里要改成老版本的实现
}
func QueryDataV2(c *gin.Context) {
stats.Counter.Set("data.api.qp10s", 1)
dataSource, err := backend.GetDataSourceFor("")

View File

@ -30,10 +30,5 @@ func Config(r *gin.Engine) {
index.POST("/counter/fullmatch", GetIndexByFullTags)
}
v2 := r.Group("/api/transfer/v2")
{
v2.POST("/data", QueryDataV2)
}
pprof.Register(r, "/api/transfer/debug/pprof")
}