base

package
v0.0.0-...-a8f546d Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpAllToDb

func DumpAllToDb(db, dst string) int

func InsertCacheToDb

func InsertCacheToDb(
	src, db string) error

func SaveImageFromDb

func SaveImageFromDb(src, db, dst string) (string, error)

func ShowAllFromDb

func ShowAllFromDb(db string) (int, string)

func ShowImageFromDb

func ShowImageFromDb(src, db string) (string, error)

func ShowImg

func ShowImg(src string) (string, error)

Types

type Image

type Image struct {
	Md5  string
	Size uint32
	Id   string
	Url  string
}

func (*Image) String

func (i *Image) String() string

Jump to

Keyboard shortcuts

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