metathings_device_cloud_profile_storage_core

package
v1.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OPTION_DEFAULT_PROFILE         = "defaultProfile"
	OPTION_DISABLE_DEFAULT_PROFILE = "disableDefaultProfile"
)

Variables

View Source
var (
	ErrProfileNotFound, ErrProfileNotFoundFn = errors.NewErrorAndErrorFunc[string]("profile not found")
	ErrDeviceNotFound, ErrDeviceNotFoundFn   = errors.NewErrorAndErrorFunc[string]("device not found")
)
View Source
var (
	WithDefaultProfile, GetDefaultProfile               = option.New[string](OPTION_DEFAULT_PROFILE)
	WithDisableDefaultProfile, GetDisableDefaultProfile = option.New[bool](OPTION_DISABLE_DEFAULT_PROFILE)
)
View Source
var (
	Register, New = registerer.Pair[intf.ProfileStorage]()
)

Functions

func DefaultGetProfileByDeviceOptions

func DefaultGetProfileByDeviceOptions() option.Option

func DefaultNewStorageOptions

func DefaultNewStorageOptions() option.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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