service

package
v0.0.0-...-87726f4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPService

type CPService interface {
	GetAll() ([]model.ColorProfile, error)
	GetColorProfile(id string) (*model.ColorProfile, error)
	CreateColorProfile(mdl *model.ColorProfile) error
	UpdateColorProfile(id string, updMdl model.ColorProfile) error
	DeleteColorProfile(id string) error
}

func NewCPService

func NewCPService(i *do.Injector) (CPService, error)

type LEDService

type LEDService interface {
	GetAll() ([]model.LedStrip, error)
	GetLEDStrip(id string) (*model.LedStrip, error)
	CreateLEDStrip(mdl *model.LedStrip) error
	UpdateLEDStrip(id string, updMdl model.LedStrip) error
	DeleteLEDStrip(id string) error
	UpdateProfileForStrip(id string, updProf model.ColorProfile) (*model.ColorProfile, error)
	GetProfileForStrip(id string) (*model.ColorProfile, error)
	RemoveProfileForStrip(id string) error
}

func NewLEDService

func NewLEDService(i *do.Injector) (LEDService, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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