gather

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2019 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrawlImages added in v0.0.8

func CrawlImages(ctx context.Context, bucket *blob.Bucket, rsp_ch chan GatherImagesResponse) error

func GatherImages added in v0.0.8

func GatherImages(ctx context.Context, bucket *blob.Bucket, cb GatherImageCallbackFunc) error

func GatherImagesWithOptions added in v0.0.8

func GatherImagesWithOptions(ctx context.Context, bucket *blob.Bucket, opts *GatherImagesOptions) error

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL