MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / NewClient

Function NewClient

client/base.go:35–37  ·  view source on GitHub ↗

NewClient 创建一个新的 QQ Client

(uin uint32, password string)

Source from the content-addressed store, hash-verified

33
34// NewClient 创建一个新的 QQ Client
35func NewClient(uin uint32, password string) *QQClient {
36 return NewClientMD5(uin, md5.Sum([]byte(password)))
37}
38
39func NewClientEmpty() *QQClient {
40 return NewClientMD5(0, [16]byte{})

Callers 1

mainFunction · 0.92

Calls 1

NewClientMD5Function · 0.85

Tested by

no test coverage detected