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 }
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)
Click to show internal directories.
Click to hide internal directories.