frigg

package
v0.0.0-...-8d2886a Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collage

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

func NewFriggCollage

func NewFriggCollage(warehouse warehouse, gungner gungner) *Collage

func (*Collage) MakeCollage

func (c *Collage) MakeCollage(ctx context.Context, mask string, leads []uint, maxID uint) (image.Image, error)

MakeCollage - собираем изображение NxN и переданных лидеров. Файлы загружаются из warehouse.

func (*Collage) MakeNSaveBlankCollage

func (c *Collage) MakeNSaveBlankCollage(ctx context.Context, unity model.Unity) error

func (*Collage) SaveCollage

func (c *Collage) SaveCollage(ctx context.Context, unity model.Unity, img image.Image) error

Jump to

Keyboard shortcuts

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