MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / clientSuffix

Function clientSuffix

drivers/189pc/help.go:25–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23)
24
25func clientSuffix() map[string]string {
26 rand := random.Rand
27 return map[string]string{
28 "clientType": PC,
29 "version": VERSION,
30 "channelId": CHANNEL_ID,
31 "rand": fmt.Sprintf("%d_%d", rand.Int63n(1e5), rand.Int63n(1e10)),
32 }
33}
34
35// 带params的SignatureOfHmac HMAC签名
36func signatureOfHmac(sessionSecret, sessionKey, operate, fullUrl, dateOfGmt, param string) string {

Callers 6

requestMethod · 0.70
putMethod · 0.70
loginByPasswordMethod · 0.70
loginByQRCodeMethod · 0.70
keepAliveMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected