Documentation
¶
Index ¶
Constants ¶
View Source
const ( Light string = "light" Dark = "dark" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Icon ¶
type IconRequest ¶
type IconRequest struct { gorm.Model Id uuid.UUID `gorm:"primarykey"` CallerId string ServiceName string Issuers datatypes.JSON Description string LightIconUrl string DarkIconUrl string }
func (IconRequest) TableName ¶
func (IconRequest) TableName() string
type IconsCollection ¶
type IconsCollection struct { gorm.Model Id uuid.UUID `gorm:"primarykey"` Name string Description string Icons datatypes.JSON }
func (IconsCollection) TableName ¶
func (IconsCollection) TableName() string
type IconsCollectionRepository ¶
type IconsCollectionRepository interface { Save(iconsCollection *IconsCollection) error Update(iconsCollection *IconsCollection) error Delete(iconsCollection *IconsCollection) error FindById(id uuid.UUID) (*IconsCollection, error) FindAll() []*IconsCollection }
type IconsCollectionsRelationsRepository ¶
type IconsCollectionsRelationsRepository interface {
DeleteAll(iconsCollection *IconsCollection) error
}
type IconsRepository ¶
type IconsRequestsRepository ¶
type IconsRequestsRepository interface { Save(iconRequest *IconRequest) error Update(iconRequest *IconRequest) error Delete(iconRequest *IconRequest) error FindById(id uuid.UUID) (*IconRequest, error) FindAll() []*IconRequest }
type WebService ¶
type WebService struct { gorm.Model Id uuid.UUID `gorm:"primarykey"` Name string Description string Issuers datatypes.JSON Tags datatypes.JSON IconsCollections datatypes.JSON MatchRules datatypes.JSON }
func (WebService) TableName ¶
func (WebService) TableName() string
type WebServiceAlreadyExistsError ¶
type WebServiceAlreadyExistsError struct {
Name string
}
func (WebServiceAlreadyExistsError) Error ¶
func (e WebServiceAlreadyExistsError) Error() string
type WebServicesRepository ¶
type WebServicesRepository interface { Save(webService *WebService) error Update(webService *WebService) error Delete(webService *WebService) error FindById(webService uuid.UUID) (*WebService, error) FindByName(name string) (*WebService, error) FindAll() []*WebService }
Click to show internal directories.
Click to hide internal directories.