MCPcopy Create free account
hub / github.com/52funny/pikpakcli / PikPak

Struct PikPak

internal/api/pikpak.go:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20const clientSecret = `dbw2OtmVEeuUvIptb1Coyg`
21
22type PikPak struct {
23 Account string `json:"account"`
24 Password string `json:"password"`
25 JwtToken string `json:"token"`
26 refreshToken string
27 CaptchaToken string `json:"captchaToken"`
28 Sub string `json:"userId"`
29 DeviceId string `json:"deviceId"`
30 RefreshSecond int64 `json:"refreshSecond"`
31 client *http.Client
32 ctx context.Context
33}
34
35func NewPikPak(account, password string) PikPak {
36 return NewPikPakWithContext(context.Background(), account, password)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected