Documentation
¶
Index ¶
- func BuildDLInitParams(pd, pkid, pkht string, channel int, topURL, rtid string) string
- func BuildGTParams(un string, channel int, pd, pkid string, topURL, rtid string) string
- func BuildLParams(l, d int, un, pw, pd, pkid, tk, domains, puzzle string, ...) string
- func BuildPowGetPParams(pd, pkid, un, pvSid string, channel int, topURL, rtid string) string
- func BuildRtId() string
- func BuildZCInitParams(pd, pkid, pkht string, channel int, topURL, rtid string) string
- func MOOCEncMS4(content string) string
- func MOOCRSA(content string) string
- func PowGetPTurnLData(puzzle, mod, x string, t int, minTime, maxTime int64) (int, int64, int, string)
- func PowSign(key string, seed int) uint32
- func VdfAsync(data Data) (int, int64, int, string, uint32)
- type Args
- type Data
- type MOOCUserCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDLInitParams ¶
构建DLInit的Params参数
func BuildGTParams ¶
构建GT的Params参数
func BuildLParams ¶
func BuildPowGetPParams ¶
构建PowGetP的Params参数
func BuildZCInitParams ¶
构建ZCInit的Params参数
Types ¶
type MOOCUserCache ¶
type MOOCUserCache struct {
Account string //账号
Password string //用户密码
TK string //通过GT获取的参数
Sid string
X string
T int
Puzzle string
Mod string
MinTime int64
MaxTime int64
IpProxySW bool //是否开启IP代理
ProxyIP string //代理IP
// contains filtered or unexported fields
}
func (*MOOCUserCache) GtApi ¶
func (cache *MOOCUserCache) GtApi()
func (*MOOCUserCache) LoginApi ¶
func (cache *MOOCUserCache) LoginApi()
Click to show internal directories.
Click to hide internal directories.