Documentation
¶
Index ¶
- func NewCardRepository(data []cards.Card, collected map[string][]cards.Collectable) (cards.CardRepository, error)
- func NewCollectRepository(data []cards.Card) (cards.CollectionRepository, error)
- func NewDetectRepository(data []cards.Card, cfg config.Images, hasher image.Hasher) (cards.DetectRepository, error)
- type InMemDetectRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCardRepository ¶
func NewCardRepository(data []cards.Card, collected map[string][]cards.Collectable) (cards.CardRepository, error)
func NewCollectRepository ¶
func NewCollectRepository(data []cards.Card) (cards.CollectionRepository, error)
Types ¶
type InMemDetectRepository ¶
type InMemDetectRepository struct {
// contains filtered or unexported fields
}
func (InMemDetectRepository) Top5MatchesByHash ¶
Click to show internal directories.
Click to hide internal directories.