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.
Click to show internal directories.
Click to hide internal directories.