constants

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AttributeObtainSeedsRequest   = attribute.Key("d7y.obtain.seeds.request")
	AttributeGetPieceTasksRequest = attribute.Key("d7y.get.piece.tasks.request")
	AttributePiecePacketResult    = attribute.Key("d7y.piece.packet.result")
	AttributeTaskID               = attribute.Key("d7y.task.id")
	AttributeTaskStatus           = attribute.Key("d7y.task.status")
	AttributeTaskInfo             = attribute.Key("d7y.taskInfo")
	AttributeIfReuseTask          = attribute.Key("d7y.task.already.exist")
	AttributeSeedPiece            = attribute.Key("d7y.seed.piece")
	AttributeSeedTask             = attribute.Key("d7y.seed.task")
	AttributeCacheResult          = attribute.Key("d7y.cache.result")
	AttributeWriteGoroutineCount  = attribute.Key("d7y.write.goroutine.count")
	AttributeDownloadFileInfo     = attribute.Key("d7y.download.file.info")
	AttributeDetectCacheResult    = attribute.Key("d7y.detect.cache.result")
)
View Source
const (
	SpanObtainSeeds          = "cdn-obtain-seeds"
	SpanGetPieceTasks        = "get-piece-tasks"
	SpanTaskRegister         = "task-register"
	SpanAndOrUpdateTask      = "add-or-update-task"
	SpanTriggerCDNSyncAction = "trigger-cdn-sync-action"
	SpanTriggerCDN           = "trigger-cdn"
	SpanDetectCache          = "detect-cache"
	SpanDownloadSource       = "download-source"
	SpanWriteData            = "write-data"
)
View Source
const (
	EventHitUnreachableURL       = "hit-unreachableURL"
	EventRequestSourceFileLength = "request-source-file-length"
	EventDeleteUnReachableTask   = "downloaded"
	EventInitSeedProgress        = "init-seed-progress"
	EventWatchSeedProgress       = "watch-seed-progress"
	EventPublishPiece            = "publish-piece"
	EventPublishTask             = "publish-task"
)

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