cache

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SceneDeviceRepo

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

func NewSceneDeviceRepo

func NewSceneDeviceRepo(sceneRepo scene.Repo) *SceneDeviceRepo

func (*SceneDeviceRepo) Delete

func (s *SceneDeviceRepo) Delete(ctx context.Context, id int64) error

func (*SceneDeviceRepo) GetInfos

func (s *SceneDeviceRepo) GetInfos(ctx context.Context, device devices.Core,
	operator scene.DeviceOperationOperator, dataID string) (scene.Infos, error)

func (*SceneDeviceRepo) Init

func (s *SceneDeviceRepo) Init(ctx context.Context) error

func (*SceneDeviceRepo) Insert

func (s *SceneDeviceRepo) Insert(ctx context.Context, info *scene.Info) error

func (*SceneDeviceRepo) Update

func (s *SceneDeviceRepo) Update(ctx context.Context, info *scene.Info) error

Jump to

Keyboard shortcuts

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