images

package
v0.0.0-...-c447edc Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Images

type Images struct {
	// contains filtered or unexported fields
}
var Instance *Images

func NewImages

func NewImages() *Images

func (*Images) Get

func (c *Images) Get(code string) (*Img, error)

func (*Images) Set

func (c *Images) Set(code string, data []byte, altText string)

type Img

type Img struct {
	Data    []byte
	AltText string
}

Jump to

Keyboard shortcuts

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