appicon

package
v0.0.0-...-c7f185a Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ContentTypePNG = "image/png"
View Source
const IconPrefix = "app_"

Variables

This section is empty.

Functions

func BuildIconField

func BuildIconField(fileName, etag string) string

func BuildIconFileName

func BuildIconFileName(appKey, ext string) string

func CleanOldIconFiles

func CleanOldIconFiles(appKey string) error

func GetETagFromIconField

func GetETagFromIconField(icon string) string

func GetIconFilePath

func GetIconFilePath(fileName string) string

func IconFileExists

func IconFileExists(fileName string) bool

func IsIconFile

func IsIconFile(icon string) bool

func ParseIconField

func ParseIconField(icon string) (fileName, etag string)

func ReadIconFile

func ReadIconFile(fileName string) ([]byte, error)

func WriteIconFile

func WriteIconFile(appKey string, data []byte) (fileName string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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