Documentation ¶
Overview ¶
Package controllers provides the implementation of the controller for the provider endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryController ¶
type DiscoveryController struct { *router.Router Endpointers []Endpointer }
func (*DiscoveryController) Register ¶
func (controller *DiscoveryController) Register(router *router.Router)
Register implements router.Controller.Register
type DownloaderController ¶
type DownloaderController struct { *router.Router ProviderHandlers []handlers.ProviderHandler }
func (*DownloaderController) Register ¶
func (controller *DownloaderController) Register(router *router.Router)
Register implements router.Controller.Register
type Endpointer ¶
type ProviderController ¶
type ProviderController struct { *router.Router Server http.Server DownloaderController router.Controller AuthMiddleware echo.MiddlewareFunc ProviderHandlers []handlers.ProviderHandler }
func (*ProviderController) Endpoints ¶
func (controller *ProviderController) Endpoints() map[string]any
Endpoints implements controllers.Endpointer.Endpoints
func (*ProviderController) Register ¶
func (controller *ProviderController) Register(router *router.Router)
Register implements router.Controller.Register
Click to show internal directories.
Click to hide internal directories.