slideShow

package module
v0.0.0-...-67f24b0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Checker = &checkerImage{}

Checker is a checker image generator.

Functions

func NewAsyncLoader

func NewAsyncLoader() (*asyncLoader, error)

func NewNoEffectRenderer

func NewNoEffectRenderer() (*noEffect, error)

Types

type AsyncImage

type AsyncImage struct {
	image.Image
}

AsyncImage is a async image loader.

func NewAsyncImage

func NewAsyncImage(path string, loaded func(string, image.Image)) *AsyncImage

NewAsyncImage returns a new AsyncImage and starts loading.

type Feed

type Feed struct {
	Pages  []*Page
	Images []*Image
	// contains filtered or unexported fields
}

func NewFeed

func NewFeed() (*Feed, error)

func (*Feed) ParsePagesAsync

func (f *Feed) ParsePagesAsync(pages []*Page) <-chan error

func (*Feed) ParseURLsAsync

func (f *Feed) ParseURLsAsync(urls []string) <-chan error

type Image

type Image struct {
	URL          string
	ThumbnailURL string

	Title          string
	Image          []byte
	ThumbnailImage []byte
	// contains filtered or unexported fields
}

type Page

type Page struct {
	URL   string
	Title string
}

Directories

Path Synopsis
cmd
SlideShow command
feeds command

Jump to

Keyboard shortcuts

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