* feat: build index & search with bleve (#1740) * delete unused struct Co-authored-by: Noah Hsu <i@nn.ci>
This commit is contained in:
@ -107,6 +107,11 @@ func admin(g *gin.RouterGroup) {
|
||||
ms := g.Group("/message")
|
||||
ms.POST("/get", message.HttpInstance.GetHandle)
|
||||
ms.POST("/send", message.HttpInstance.SendHandle)
|
||||
|
||||
index := g.Group("/index")
|
||||
index.POST("/build", handles.BuildIndex)
|
||||
index.GET("/progress", handles.GetProgress)
|
||||
index.GET("/search", handles.Search)
|
||||
}
|
||||
|
||||
func _fs(g *gin.RouterGroup) {
|
||||
|
Reference in New Issue
Block a user