[ADD] api to get event log

This commit is contained in:
GLYASAI 2019-08-16 22:13:20 +08:00
parent 843552ec63
commit 11cbc1532f

View File

@ -44,6 +44,7 @@ func (v2 *V2) Routes() chi.Router {
r.Post("/alertmanager-webhook", controller.GetManager().AlertManagerWebHook)
r.Get("/version", controller.GetManager().Version)
r.Mount("/port", v2.portRouter())
r.Get("/event-log", controller.GetManager().LogByAction)
return r
}