Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoaderAller ¶
type LoaderStorer ¶
type LoaderStorer interface { Storer Loader LoaderAller }
type Proxy ¶
type Proxy interface {
AddExtension(ctx context.Context, extension *models.C11yExtension) error
}
C11yProxy proxies the request through the separate container, only for it to come back here for the storage. This is legacy from the pre-module times. TODO: cleanup, there does not need to be a separation between user-facing and internal storage endpoint in the long-term
type RESTHandlers ¶
type RESTHandlers struct {
// contains filtered or unexported fields
}
func NewRESTHandlers ¶
func NewRESTHandlers(ls LoaderStorer, proxy Proxy) *RESTHandlers
func (*RESTHandlers) StorageHandler ¶
func (h *RESTHandlers) StorageHandler() http.Handler
func (*RESTHandlers) UserFacingHandler ¶
func (h *RESTHandlers) UserFacingHandler() http.Handler
type RESTStorageHandlers ¶
type RESTStorageHandlers struct {
// contains filtered or unexported fields
}
func (*RESTStorageHandlers) Handler ¶
func (h *RESTStorageHandlers) Handler() http.Handler
type RESTUserFacingHandlers ¶
type RESTUserFacingHandlers struct {
// contains filtered or unexported fields
}
func (*RESTUserFacingHandlers) Handler ¶
func (h *RESTUserFacingHandlers) Handler() http.Handler
type UseCase ¶
type UseCase struct {
// contains filtered or unexported fields
}
UseCase handles all business logic regarding extensions
func NewUseCase ¶
func NewUseCase(storage moduletools.Storage) *UseCase
Click to show internal directories.
Click to hide internal directories.