mirror of
https://github.com/muety/wakapi.git
synced 2025-12-05 22:20:24 -08:00
20 lines
266 B
Go
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{}
|
|
}
|