Documentation ¶
Index ¶
- func ConvertToArtwork(ctx context.Context, artworkModel *types.ArtworkModel, ...) (*types.Artwork, error)
- func ConvertToArtworks(ctx context.Context, artworkModels []*types.ArtworkModel, ...) ([]*types.Artwork, error)
- func ConvertToFeedItems(ctx context.Context, artworks []*types.Artwork) []*feeds.Item
- func ConvertToSearchDoc(ctx context.Context, artworkModel *types.ArtworkModel) (*types.ArtworkSearchDocument, error)
- func GetArtworkModelIndexPicture(ctx context.Context, artworkModel *types.ArtworkModel) (*types.Picture, error)
- func GetArtworkModelPictures(ctx context.Context, artworkModel *types.ArtworkModel) ([]*types.Picture, error)
- func GetArtworkModelTags(ctx context.Context, artworkModel *types.ArtworkModel) ([]string, error)
- func LoadAll() *types.AdapterOption
- func LoadNone() *types.AdapterOption
- func MergeOptions(opts ...*types.AdapterOption) *types.AdapterOption
- func OnlyLoadArtist() *types.AdapterOption
- func OnlyLoadPicture() *types.AdapterOption
- func OnlyLoadTag() *types.AdapterOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToArtwork ¶
func ConvertToArtwork(ctx context.Context, artworkModel *types.ArtworkModel, opts ...*types.AdapterOption) (*types.Artwork, error)
func ConvertToArtworks ¶
func ConvertToArtworks(ctx context.Context, artworkModels []*types.ArtworkModel, opts ...*types.AdapterOption) ([]*types.Artwork, error)
func ConvertToFeedItems ¶
func ConvertToSearchDoc ¶ added in v0.72.0
func ConvertToSearchDoc(ctx context.Context, artworkModel *types.ArtworkModel) (*types.ArtworkSearchDocument, error)
func GetArtworkModelPictures ¶
func GetArtworkModelTags ¶
func LoadAll ¶
func LoadAll() *types.AdapterOption
func LoadNone ¶
func LoadNone() *types.AdapterOption
func MergeOptions ¶
func MergeOptions(opts ...*types.AdapterOption) *types.AdapterOption
func OnlyLoadArtist ¶
func OnlyLoadArtist() *types.AdapterOption
func OnlyLoadPicture ¶
func OnlyLoadPicture() *types.AdapterOption
func OnlyLoadTag ¶
func OnlyLoadTag() *types.AdapterOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.