constant

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RegisterProviderFile = "file"
	RegisterProviderAuto = "auto"

	TaskHandlerType = "task"

	// AuthHeaderKey request header key.
	AuthHeaderKey     = "Authorization"
	BasicAuthPrefix   = "Basic"
	BasicAuthUsername = "apikey"

	DeviceAuthBucket          = "device_auth"
	DeviceAuthKey             = "api_token"
	DeviceAuthExpireKey       = "api_token_expire"
	DeviceAuthExchangeCodeKey = "exchange_code"

	DeviceMetadataBucket = "device_metadata"
	DeviceInfoKey        = "device_info"

	// DeviceRemoteCacheBucket Remote Config cache key.
	DeviceRemoteCacheBucket = "device_remote_cache"

	DeviceRemoteConfigBucket = "device_remote_config"

	// FileInfoBucket File info bucket.
	FileInfoBucket = "file_info_bucket"

	// MultiPartUploadBucket Multi part upload bucket.
	MultiPartUploadBucket = "multi_part_upload_bucket"

	UploadBucket = "default"

	LabelUploadSuccess = "\u4E0A\u4F20\u5B8C\u6210"

	TaskModType = "task"
	RuleModType = "rule"
	HttpModType = "http"

	// TopicRuleMsg PubSub topic name.
	TopicRuleMsg    = "topic.rules.msg"
	TopicCollectMsg = "topic.collect.msg"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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