Documentation ¶
Index ¶
- type CreateIcon
- type CreateIconHandler
- type CreateIconRequest
- type CreateIconRequestHandler
- type CreateIconsCollection
- type CreateIconsCollectionHandler
- type CreateWebService
- type CreateWebServiceHandler
- type DeleteAllIcons
- type DeleteAllIconsCollections
- type DeleteAllIconsCollectionsHandler
- type DeleteAllIconsHandler
- type DeleteAllIconsRequestsHandler
- type DeleteAllWebServices
- type DeleteAllWebServicesHandler
- type DeleteIcon
- type DeleteIconHandler
- type DeleteIconRequest
- type DeleteIconRequestHandler
- type DeleteIconsCollection
- type DeleteIconsCollectionHandler
- type DeleteWebService
- type DeleteWebServiceHandler
- type MatchRule
- type TransformIconRequestToWebService
- type TransformIconRequestToWebServiceHandler
- type UpdateIcon
- type UpdateIconHandler
- type UpdateIconsCollection
- type UpdateIconsCollectionHandler
- type UpdateWebService
- type UpdateWebServiceFromIconRequest
- type UpdateWebServiceFromIconRequestHandler
- type UpdateWebServiceHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateIcon ¶
type CreateIconHandler ¶
type CreateIconHandler struct { Repository domain.IconsRepository Storage storage.FileSystemStorage }
func (*CreateIconHandler) Handle ¶
func (h *CreateIconHandler) Handle(cmd *CreateIcon) error
type CreateIconRequest ¶
type CreateIconRequest struct { Id uuid.UUID CallerId string `json:"caller_id" validate:"required,max=128"` ServiceName string `json:"service_name" validate:"required,max=128"` Issuers []string `json:"issuers" validate:"required,max=128"` Description string `json:"description" validate:"omitempty,max=512"` LightIcon string `json:"light_icon" validate:"required,base64"` DarkIcon string `json:"dark_icon" validate:"omitempty,base64"` }
type CreateIconRequestHandler ¶
type CreateIconRequestHandler struct { Storage storage.FileSystemStorage Repository domain.IconsRequestsRepository }
func (*CreateIconRequestHandler) Handle ¶
func (h *CreateIconRequestHandler) Handle(cmd *CreateIconRequest) error
type CreateIconsCollection ¶
type CreateIconsCollectionHandler ¶
type CreateIconsCollectionHandler struct {
Repository domain2.IconsCollectionRepository
}
func (*CreateIconsCollectionHandler) Handle ¶
func (h *CreateIconsCollectionHandler) Handle(cmd *CreateIconsCollection) error
type CreateWebService ¶
type CreateWebService struct { Id uuid.UUID Name string `json:"name" validate:"required,max=64"` Description string `json:"description" validate:"omitempty,max=512"` Issuers []string `json:"issuers" validate:"required,max=128"` IconsCollections []string `json:"icons_collections" validate:"required"` MatchRules []*MatchRule `json:"match_rules"` Tags []string `json:"tags"` }
type CreateWebServiceHandler ¶
type CreateWebServiceHandler struct {
Repository domain.WebServicesRepository
}
func (*CreateWebServiceHandler) Handle ¶
func (h *CreateWebServiceHandler) Handle(cmd *CreateWebService) error
type DeleteAllIcons ¶
type DeleteAllIcons struct{}
type DeleteAllIconsCollections ¶
type DeleteAllIconsCollections struct{}
type DeleteAllIconsCollectionsHandler ¶
func (*DeleteAllIconsCollectionsHandler) Handle ¶
func (h *DeleteAllIconsCollectionsHandler) Handle(cmd *DeleteAllIconsCollections)
type DeleteAllIconsHandler ¶
func (*DeleteAllIconsHandler) Handle ¶
func (h *DeleteAllIconsHandler) Handle(cmd *DeleteAllIcons)
type DeleteAllIconsRequestsHandler ¶
func (*DeleteAllIconsRequestsHandler) Handle ¶
func (h *DeleteAllIconsRequestsHandler) Handle()
type DeleteAllWebServices ¶
type DeleteAllWebServices struct{}
type DeleteAllWebServicesHandler ¶
func (*DeleteAllWebServicesHandler) Handle ¶
func (h *DeleteAllWebServicesHandler) Handle(cmd *DeleteAllWebServices)
type DeleteIcon ¶
type DeleteIcon struct {
Id string `uri:"icon_id" validate:"required,uuid4"`
}
type DeleteIconHandler ¶
type DeleteIconHandler struct { Repository domain.IconsRepository IconsRelationRepository domain.IconsRelationsRepository }
func (*DeleteIconHandler) Handle ¶
func (h *DeleteIconHandler) Handle(cmd *DeleteIcon) error
type DeleteIconRequest ¶
type DeleteIconRequest struct {
Id string `uri:"icon_request_id" validate:"required,uuid4"`
}
type DeleteIconRequestHandler ¶
type DeleteIconRequestHandler struct {
Repository domain.IconsRequestsRepository
}
func (*DeleteIconRequestHandler) Handle ¶
func (h *DeleteIconRequestHandler) Handle(cmd *DeleteIconRequest) error
type DeleteIconsCollection ¶
type DeleteIconsCollection struct {
Id string `uri:"collection_id" validate:"required,uuid4"`
}
type DeleteIconsCollectionHandler ¶
type DeleteIconsCollectionHandler struct { Repository domain2.IconsCollectionRepository IconsCollectionsRelationsRepository domain2.IconsCollectionsRelationsRepository }
func (*DeleteIconsCollectionHandler) Handle ¶
func (h *DeleteIconsCollectionHandler) Handle(cmd *DeleteIconsCollection) error
type DeleteWebService ¶
type DeleteWebService struct {
Id string `uri:"service_id" validate:"required,uuid4"`
}
type DeleteWebServiceHandler ¶
type DeleteWebServiceHandler struct {
Repository domain.WebServicesRepository
}
func (*DeleteWebServiceHandler) Handle ¶
func (h *DeleteWebServiceHandler) Handle(cmd *DeleteWebService) error
type TransformIconRequestToWebServiceHandler ¶
type TransformIconRequestToWebServiceHandler struct { IconsStorage storage.FileSystemStorage WebServiceRepository domain.WebServicesRepository IconsRepository domain.IconsRepository IconsCollectionsRepository domain.IconsCollectionRepository IconsRequestsRepository domain.IconsRequestsRepository }
func (*TransformIconRequestToWebServiceHandler) Handle ¶
func (h *TransformIconRequestToWebServiceHandler) Handle(cmd *TransformIconRequestToWebService) error
type UpdateIcon ¶
type UpdateIconHandler ¶
type UpdateIconHandler struct { Repository domain.IconsRepository Storage storage.FileSystemStorage }
func (*UpdateIconHandler) Handle ¶
func (h *UpdateIconHandler) Handle(cmd *UpdateIcon) error
type UpdateIconsCollection ¶
type UpdateIconsCollectionHandler ¶
type UpdateIconsCollectionHandler struct {
Repository domain2.IconsCollectionRepository
}
func (*UpdateIconsCollectionHandler) Handle ¶
func (h *UpdateIconsCollectionHandler) Handle(cmd *UpdateIconsCollection) error
type UpdateWebService ¶
type UpdateWebService struct { Id string `uri:"service_id" validate:"required,uuid4"` Name string `json:"name" validate:"omitempty,max=64"` Description string `json:"description" validate:"omitempty,max=512"` Issuers []string `json:"issuers"` Tags []string `json:"tags"` IconsCollections []string `json:"icons_collections"` MatchRules []*MatchRule `json:"match_rules"` }
type UpdateWebServiceFromIconRequestHandler ¶
type UpdateWebServiceFromIconRequestHandler struct { IconsStorage storage.FileSystemStorage WebServiceRepository domain.WebServicesRepository IconsCollectionsRepository domain.IconsCollectionRepository IconsRepository domain.IconsRepository IconsRequestsRepository domain.IconsRequestsRepository }
func (*UpdateWebServiceFromIconRequestHandler) Handle ¶
func (h *UpdateWebServiceFromIconRequestHandler) Handle(cmd *UpdateWebServiceFromIconRequest) error
type UpdateWebServiceHandler ¶
type UpdateWebServiceHandler struct {
Repository domain.WebServicesRepository
}
func (*UpdateWebServiceHandler) Handle ¶
func (h *UpdateWebServiceHandler) Handle(cmd *UpdateWebService) error
Click to show internal directories.
Click to hide internal directories.