Files
wakapi/routes/handler.go
2023-12-01 17:14:23 +01:00

20 lines
266 B
Go

package routes
import (
"github.com/go-chi/chi/v5"
)
type Handler interface {
RegisterRoutes(router chi.Router)
}
type NoopHandler struct {
}
func (n *NoopHandler) RegisterRoutes(r chi.Router) {
}
func NewNoopHandler() *NoopHandler {
return &NoopHandler{}
}