images

package
v0.0.0-...-6057329 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionAvatar = "avatar"
	ActionCover  = "cover"
	ActionAlbum  = "album"
	ActionDelete = "delete"
)

Variables

This section is empty.

Functions

Types

type ImageProcessor

type ImageProcessor struct {
	ID int64 //image or user id
	// contains filtered or unexported fields
}

func (*ImageProcessor) Work

func (ip *ImageProcessor) Work()

type MindwellImages

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

func NewMindwellImages

func NewMindwellImages(cfg *config.Config) *MindwellImages

func (*MindwellImages) BaseURL

func (mi *MindwellImages) BaseURL() string

func (*MindwellImages) ConfigBytes

func (mi *MindwellImages) ConfigBytes(key string) []byte

func (*MindwellImages) ConfigString

func (mi *MindwellImages) ConfigString(key string) string

func (*MindwellImages) DB

func (mi *MindwellImages) DB() *sql.DB

func (*MindwellImages) Folder

func (mi *MindwellImages) Folder() string

func (*MindwellImages) LogApi

func (mi *MindwellImages) LogApi() *zap.Logger

func (*MindwellImages) LogImages

func (mi *MindwellImages) LogImages() *zap.Logger

func (*MindwellImages) LogSystem

func (mi *MindwellImages) LogSystem() *zap.Logger

func (*MindwellImages) QueueAction

func (mi *MindwellImages) QueueAction(is *imageStore, ID int64, action string)

func (*MindwellImages) Shutdown

func (mi *MindwellImages) Shutdown()

func (*MindwellImages) TokenHash

func (mi *MindwellImages) TokenHash() utils.TokenHash

Jump to

Keyboard shortcuts

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