2020-11-01 16:54:06 +01:00
|
|
|
package types
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/go-chi/chi"
|
|
|
|
)
|
|
|
|
|
|
|
|
type ApiManager interface {
|
2020-11-14 18:16:25 +01:00
|
|
|
Route(r chi.Router)
|
2020-12-12 18:37:19 +01:00
|
|
|
AddRouter(path string, router func(chi.Router))
|
2020-11-01 16:54:06 +01:00
|
|
|
}
|