common

package
v0.0.9 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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FingerprintFile added in v0.0.8

func FingerprintFile(ctx context.Context, bucket *blob.Bucket, path string) (string, error)

func NewReader

func NewReader(ctx context.Context, uri string) (reader.Reader, error)

func NewWriter

func NewWriter(ctx context.Context, uri string) (writer.Writer, error)

Types

type ImageHashRsp added in v0.0.8

type ImageHashRsp struct {
	Approach string
	Hash     string
}

func ImageHashes added in v0.0.8

func ImageHashes(ctx context.Context, bucket *blob.Bucket, im_path string) ([]*ImageHashRsp, error)

Jump to

Keyboard shortcuts

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