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: 0

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