sceneTimer

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSceneTimerControl

func NewSceneTimerControl() timer.SceneControl

Types

type SceneTimer

type SceneTimer struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSceneTimer

func NewSceneTimer(ctx context.Context, svcCtx *svc.ServiceContext) *SceneTimer

func (*SceneTimer) Create

func (s *SceneTimer) Create(info *scene.Info) error

func (*SceneTimer) Delete

func (s *SceneTimer) Delete(id int64) error

func (*SceneTimer) IsRunning added in v0.5.1

func (s *SceneTimer) IsRunning() bool

func (*SceneTimer) Start

func (s *SceneTimer) Start()

func (*SceneTimer) Update

func (s *SceneTimer) Update(info *scene.Info) error

Jump to

Keyboard shortcuts

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