Documentation ¶
Index ¶
- Constants
- func HostIDV1(hostname string, port int32) string
- func HostIDV2(ip, hostname string, isSeedPeer bool) string
- func ParentTaskIDV1(url string, meta *commonv1.UrlMeta) string
- func ParseFilteredQueryParams(rawFilteredQueryParams string) []string
- func PeerIDV1(ip string) string
- func PeerIDV2() string
- func SeedPeerIDV1(ip string) string
- func TaskIDV1(url string, meta *commonv1.UrlMeta) string
- func TaskIDV2(url, tag, application string, filteredQueryParams []string) string
Constants ¶
View Source
const (
// FilteredQueryParamsSeparator is the separator of filtered query params.
FilteredQueryParamsSeparator = "&"
)
Variables ¶
This section is empty.
Functions ¶
func ParentTaskIDV1 ¶ added in v2.0.9
ParentTaskIDV1 generates v1 version of parent task id, but without range. this func is used to check the parent tasks for ranged requests
func ParseFilteredQueryParams ¶ added in v2.1.62
ParseFilteredQueryParams parses filtered query params.
func SeedPeerIDV1 ¶ added in v2.0.9
SeedPeerIDV1 generates v1 version of seed peer id.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.