console/filter: add completion endpoint

This commit is contained in:
Vincent Bernat
2022-05-26 15:58:52 +02:00
parent dc39c2dc14
commit 4114568600
12 changed files with 366 additions and 25 deletions

View File

@@ -84,6 +84,7 @@ func (c *Component) Start() error {
c.d.HTTP.GinRouter.POST("/api/v0/console/graph", c.graphHandlerFunc)
c.d.HTTP.GinRouter.POST("/api/v0/console/sankey", c.sankeyHandlerFunc)
c.d.HTTP.GinRouter.POST("/api/v0/console/filter/validate", c.filterValidateHandlerFunc)
c.d.HTTP.GinRouter.POST("/api/v0/console/filter/complete", c.filterCompleteHandlerFunc)
c.t.Go(func() error {
ticker := time.NewTicker(10 * time.Second)