album

package
v0.0.0-...-cd3e5cb Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DATA embed.FS
View Source
var MIT []byte

Functions

func List

func List(w io.Writer, params *ListParams)

func Listen

func Listen(listImages func() []string,
	getImage func(string) []byte,
	msgs func(string) string,
	addr string)

func PreviewImage

func PreviewImage(h *handler, name string) []byte

Types

type ImageString

type ImageString string

func (ImageString) Preview

func (s ImageString) Preview() string

func (ImageString) Share

func (s ImageString) Share() string

type ListParams

type ListParams struct {
	Imgs     []ImageString
	Download string
}

func ListParamsFromStrs

func ListParamsFromStrs(s []string, dl string) *ListParams

Jump to

Keyboard shortcuts

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