icons

package
v0.0.0-...-6690001 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoIconManager

type GoIconManager struct {
	OutPath string
}

func (*GoIconManager) StoreNewIconFromBase64String

func (m *GoIconManager) StoreNewIconFromBase64String(icon string) (string, string, error)

func (*GoIconManager) StoreNewIconFromForm

func (m *GoIconManager) StoreNewIconFromForm(ctx *gin.Context) (string, string, error)

func (*GoIconManager) StoreNewIconFromImage

func (m *GoIconManager) StoreNewIconFromImage(img image.Image) (string, string, error)

type IconManager

type IconManager interface {
	StoreNewIconFromBase64String(icon string) (string, string, error)
	StoreNewIconFromForm(ctx *gin.Context) (string, string, error)
	StoreNewIconFromImage(img image.Image) (string, string, error)
}

func CreateGoIconManager

func CreateGoIconManager(conf config.Config) IconManager

Jump to

Keyboard shortcuts

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