services

package
v0.0.0-...-76bade1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartService

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

func NewChartService

func NewChartService(pathToStorageFolder string) *ChartService

func (*ChartService) CreateBMP

func (chartService *ChartService) CreateBMP(width, height int) (int, error)

func (*ChartService) DeleteBMP

func (chartService *ChartService) DeleteBMP(id int) error

func (*ChartService) GetPartBMP

func (chartService *ChartService) GetPartBMP(id, xPosition, yPosition, width, height int) (image.Image, error)

func (*ChartService) UpdateBMP

func (chartService *ChartService) UpdateBMP(id, xPosition, yPosition, width, height int, receivedImage []byte) error

type ChartographerServicer

type ChartographerServicer interface {
	CreateBMP(width, height int) (int, error)
	UpdateBMP(id, xPosition, yPosition, width, height int, receivedImage []byte) error
	GetPartBMP(id, xPosition, yPosition, width, height int) (image.Image, error)
	DeleteBMP(id int) error
}

type Service

type Service struct {
	ChartographerServicer
}

func NewService

func NewService(pathToStorageFolder string) *Service

Directories

Path Synopsis
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.

Jump to

Keyboard shortcuts

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