Documentation ¶
Index ¶
- Constants
- func GNNModelIDV1(ip, hostname string) string
- func HostIDV1(hostname string, port int32) string
- func HostIDV2(ip, hostname string) string
- func MLPModelIDV1(ip, hostname string) string
- func ParentTaskIDV1(url string, meta *commonv1.UrlMeta) 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, digest, tag, application string, pieceLength int32, ...) string
Constants ¶
View Source
const ( // GNNModelNameSuffix is suffix of GNN model id. GNNModelNameSuffix = "gnn" // MLPModelNameSuffix is suffix of MLP model id. MLPModelNameSuffix = "mlp" )
View Source
const (
// FilteredQueryParamsSeparator is the separator of filtered query params.
FilteredQueryParamsSeparator = "&"
)
Variables ¶
This section is empty.
Functions ¶
func GNNModelIDV1 ¶ added in v2.0.30
GNNModelIDV1 generates v1 version of gnn model id.
func MLPModelIDV1 ¶ added in v2.0.30
MLPModelIDV1 generates v1 version of mlp model id.
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 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.