imgpool

package
v1.2.4-fix5 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package imgpool 图片缓存池

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	// contains filtered or unexported fields
}

func GetImage

func GetImage(name string) (m *Image, err error)

GetImage name

func NewImage

func NewImage(ctx *zero.Ctx, name, f string) (m *Image, err error)

NewImage context name file

func (*Image) Push

func (m *Image) Push(ctx *zero.Ctx) (err error)

func (*Image) SetFile

func (m *Image) SetFile(f string)

SetFile f

func (*Image) String

func (m *Image) String() string

String url

Jump to

Keyboard shortcuts

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