loader

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImagesAsync

func ImagesAsync(ctx context.Context, filePathOrURLs ...string) chan Result

ImagesAsync download/read and decode files in parallel

Types

type Result

type Result struct {
	Img image.Image
	Err error
}

Result image reading/downloading and decoding result

func Image

func Image(ctx context.Context, filePathOrURL string) Result

Image download/read and decode file

Jump to

Keyboard shortcuts

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