mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-29 05:11:51 +02:00
feat(api): add events history endpoint
Expose events via REST and websocket streaming, update swagger docs, and emit config reload/error events
This commit is contained in:
@@ -78,6 +78,7 @@ func NewHandler(requireAuth bool) *gin.Engine {
|
||||
v1.GET("/health", apiV1.Health)
|
||||
v1.GET("/icons", apiV1.Icons)
|
||||
v1.GET("/stats", apiV1.Stats)
|
||||
v1.GET("/events", apiV1.Events)
|
||||
|
||||
route := v1.Group("/route")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user