Documentation
¶
Index ¶
- func CrawlImages(ctx context.Context, bucket *blob.Bucket, rsp_ch chan *GatherImagesResponse) error
- func GatherImages(ctx context.Context, bucket *blob.Bucket, cb GatherImageCallbackFunc) error
- func GatherImagesWithOptions(ctx context.Context, bucket *blob.Bucket, opts *GatherImagesOptions) error
- type GatherImageCallbackFunc
- type GatherImagesOptions
- type GatherImagesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrawlImages ¶ added in v0.0.8
Iterate through all the items stored in a blob.Bucket instance, generate a GatherImagesResponse for things that are images and dispatch that response to a user-defined channel.
func GatherImages ¶ added in v0.0.8
func GatherImagesWithOptions ¶ added in v0.0.8
Types ¶
type GatherImageCallbackFunc ¶ added in v0.0.8
type GatherImageCallbackFunc func(*GatherImagesResponse) error
type GatherImagesOptions ¶ added in v0.0.8
type GatherImagesOptions struct { Callback GatherImageCallbackFunc HashImages bool }
type GatherImagesResponse ¶ added in v0.0.8
type GatherImagesResponse struct { Path string Fingerprint string MimeType string ImageHashes []*common.ImageHashRsp }
func GatherImageResponseWithPath ¶ added in v0.0.14
Click to show internal directories.
Click to hide internal directories.