Documentation ¶
Index ¶
- func CDNHostID(hostname string, port int32) string
- func CDNPeerID(ip string) string
- func HostID(hostname string, port int32) string
- func ParentTaskID(url string, meta *base.UrlMeta) string
- func PeerID(ip string) string
- func SeedPeerID(ip string) string
- func TaskID(url string, meta *base.UrlMeta) string
- func UUIDString() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParentTaskID ¶
ParentTaskID generates a task id like TaskID, but without range. this func is used to check the parent tasks for ranged requests
func SeedPeerID ¶ added in v2.0.3
func UUIDString ¶
func UUIDString() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.