mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-23 01:17:44 +08:00
refactor backend API structure
This commit is contained in:
8
internal/httpapi/admin/devcapture/routes.go
Normal file
8
internal/httpapi/admin/devcapture/routes.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package devcapture
|
||||
|
||||
import "github.com/go-chi/chi/v5"
|
||||
|
||||
func RegisterRoutes(r chi.Router, h *Handler) {
|
||||
r.Get("/dev/captures", h.getDevCaptures)
|
||||
r.Delete("/dev/captures", h.clearDevCaptures)
|
||||
}
|
||||
Reference in New Issue
Block a user