instance

package
v0.0.0-...-57e0ee5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	ID                uuid.UUID `json:"id"`
	SourceImagePath   string    `json:"sourceImagePath"`
	CompositeImageUrl string    `json:"compositeImageUrl"`
	SourceImageWidth  int       `json:"sourceImageWidth"`
	SourceImageHeight int       `json:"sourceImageHeight"`
	StepCountX        int       `json:"stepCountX"`
	StepCountY        int       `json:"stepCountY"`
	StepSizeX         int       `json:"stepSizeX"`
	StepSizeY         int       `json:"stepSizeY"`
}

func New

func New(sourceImagePath string) (*Instance, error)

func Open

func Open(instanceID string) (*Instance, error)

func (*Instance) EnsurePath

func (i *Instance) EnsurePath() error

func (*Instance) GetStitchedImage

func (i *Instance) GetStitchedImage() ([]byte, error)

func (*Instance) StitchSessionImage

func (i *Instance) StitchSessionImage() error

func (*Instance) UpdateTile

func (i *Instance) UpdateTile(location tile.Location, imageData []byte) error

Jump to

Keyboard shortcuts

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