mocks

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth string

func (Auth) EnsureAccess

func (this Auth) EnsureAccess(config configuration.Config) (token string, err error)

type ZigbeeMock

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

func NewZigbeeMock

func NewZigbeeMock(ctx context.Context, wg *sync.WaitGroup, config configuration.Config) (*ZigbeeMock, error)

func (*ZigbeeMock) SendDeviceInfos

func (this *ZigbeeMock) SendDeviceInfos(infos []model.ZigbeeDeviceInfo)

func (*ZigbeeMock) TriggerEvent

func (this *ZigbeeMock) TriggerEvent(device string, value map[string]interface{})

Jump to

Keyboard shortcuts

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