MCPcopy Create free account

hub / github.com/KevinGong2013/wechat / functions

Functions122 in github.com/KevinGong2013/wechat

↓ 8 callersMethodError
()
wechat.go:46
↓ 7 callersFunctioncreateFile
CreateFile save data to filesystem.
utils.go:57
↓ 6 callersMethodExecute
Execute a http request by default http client.
wechat.go:270
↓ 6 callersMethodHandle
Handle 处理消息,联系人,登录态 等等 所有东西
events.go:177
↓ 6 callersFunctionsearch
Search is a helper to remove useless char
utils.go:16
↓ 5 callersMethodPassTicketKV
PassTicketKV return a string like `pass_ticket=1234s`
wechat.go:287
↓ 5 callersMethodString
()
messages/file.go:59
↓ 5 callersFunctionstr
Str convert int64 to string.
utils.go:89
↓ 4 callersMethodForceUpdateGroup
ForceUpdateGroup update group information
contact.go:258
↓ 4 callersMethodIsSuccess
()
wechat.go:45
↓ 4 callersMethodSkeyKV
SkeyKV return a string like `skey=1234s`
wechat.go:292
↓ 4 callersMethodmerge
(name string, ec chan Event)
events.go:85
↓ 3 callersMethodExecuteRequest
ExecuteRequest is designed for perform http request
wechat.go:224
↓ 3 callersMethodcookieCachePath
()
wechat.go:96
↓ 3 callersMethodinit
()
login.go:278
↓ 3 callersFunctionnow
Now is current unix time string.
utils.go:84
↓ 3 callersMethodrefreshBaseInfo
()
login.go:397
↓ 3 callersMethodrefreshCookieCache
(cookies []*http.Cookie)
login.go:373
↓ 2 callersMethodContactByUserName
ContactByUserName ...
contact.go:293
↓ 2 callersMethodSendMsg
SendMsg send Message to group or contact
msg.go:48
↓ 2 callersMethodSendTextMsg
SendTextMsg send text message
msg.go:97
↓ 2 callersMethodUUIDDidConfirm
(err error)
login.go:21
↓ 2 callersMethodappendContacts
修改在这里处理
cache.go:114
↓ 2 callersMethodbaseInfoCachePath
()
wechat.go:93
↓ 2 callersFunctionclientMsgID
()
msg.go:284
↓ 2 callersMethodcontactByUserName
(un string)
cache.go:129
↓ 2 callersMethodcontactDidChange
(cts []map[string]interface{}, changeType int)
contact.go:368
↓ 2 callersFunctiondeleteFile
DeleteFile from file system
utils.go:128
↓ 2 callersMethodemitContactChangeEvent
(c Contact, ct int)
events.go:264
↓ 2 callersMethodfetchGroups
(usernames []string)
contact.go:169
↓ 2 callersMethodformattedSyncCheckKey
()
sync.go:182
↓ 2 callersFunctionnewClient
()
wechat.go:160
↓ 2 callersMethodsyncCheck
()
sync.go:107
↓ 2 callersMethodupdateContact
(v map[string]interface{})
cache.go:59
↓ 1 callersMethodAddTimer
AddTimer ..
events.go:219
↓ 1 callersMethodAddTiming
AddTiming ...
events.go:260
↓ 1 callersMethodContent
()
msg.go:40
↓ 1 callersMethodCookieDataTicket
CookieDataTicket ...
msg.go:300
↓ 1 callersFunctionDefaultConfigure
DefaultConfigure create default configuration
wechat.go:80
↓ 1 callersMethodDescription
()
msg.go:42
↓ 1 callersMethodGo
Go 皮皮虾我们走
events.go:139
↓ 1 callersMethodPath
()
msg.go:38
↓ 1 callersMethodProcessUUID
(uuid string)
login.go:20
↓ 1 callersMethodSearchContact
ContactsByNickName search contact with nick name
contact.go:300
↓ 1 callersMethodSyncContact
SyncContact with Wechat server.
contact.go:79
↓ 1 callersMethodTo
()
msg.go:39
↓ 1 callersMethodUpdateGroupIfNeeded
UpdateGroupIfNeeded ...
contact.go:250
↓ 1 callersMethodUploadMedia
UploadMedia is a convernice method to upload attachment to wx cdn.
msg.go:114
↓ 1 callersFunctionbaseMsg
(to string)
msg.go:288
↓ 1 callersMethodbeginLoginFlow
run is used to login to wechat server. Need end user scan orcode.
login.go:53
↓ 1 callersMethodbeginSync
listen did hold a long connection, retrun data by 4 chans.
sync.go:48
↓ 1 callersMethodcachedBaseInfo
()
login.go:386
↓ 1 callersMethodcachedCookies
()
login.go:347
↓ 1 callersMethodcachedInfo
()
login.go:118
↓ 1 callersMethodchoseAvalibleSyncHost
()
sync.go:150
↓ 1 callersFunctioncleanPath
(p string)
events.go:101
↓ 1 callersMethodclearContactBy
(username string)
cache.go:76
↓ 1 callersMethodemitNewMessageEvent
(m map[string]interface{})
events.go:284
↓ 1 callersMethodfetchGroupsMembers
(groups []map[string]interface{})
contact.go:200
↓ 1 callersMethodfetchMembers
(list []map[string]string)
contact.go:224
↓ 1 callersFunctionfetchORCodeImage
FetchORCodeImage Get ORCode from wechat login server
utils.go:94
↓ 1 callersMethodfetchUUID
()
login.go:165
↓ 1 callersFunctionfindMatch
(mux map[string]func(Event), path string)
events.go:119
↓ 1 callersMethodgetContacts
(seq float64)
contact.go:64
↓ 1 callersMethodgroupMemberDidChange
(groups []map[string]interface{})
contact.go:394
↓ 1 callersMethodhandleServerEvent
(resp *syncMessageResponse)
events.go:380
↓ 1 callersMethodhttpDebugPath
(url *url.URL)
wechat.go:100
↓ 1 callersFunctionisPathMatch
(pattern, path string)
events.go:111
↓ 1 callersMethodkeepAlive
()
login.go:308
↓ 1 callersMethodlogin
(req *http.Request)
login.go:242
↓ 1 callersMethodmatch
(path string)
events.go:134
↓ 1 callersFunctionnewCache
()
cache.go:53
↓ 1 callersFunctionnewContact
(m map[string]interface{})
cache.go:138
↓ 1 callersFunctionnewEvtStream
()
events.go:65
↓ 1 callersMethodnewMsg
NewMsg create new message instance
msg.go:245
↓ 1 callersFunctionnewTimerCh
NewTimerCh ...
events.go:196
↓ 1 callersFunctionnewTimingCh
NewTimingCh ...
events.go:224
↓ 1 callersFunctionnewWeChat
NewWeChat is designed for Create a new Wechat instance.
wechat.go:124
↓ 1 callersMethodreLogin
()
login.go:35
↓ 1 callersMethodremoveContact
(username string)
cache.go:123
↓ 1 callersFunctionreplaceEmoji
ReplaceEmoji replace <span class="emoji emoji[a-f0-9]{5}"></span> to 🍎
utils.go:37
↓ 1 callersMethodsync
()
sync.go:203
↓ 1 callersMethodsyncContacts
(cts []map[string]interface{})
cache.go:84
↓ 1 callersMethodwaitConfirmUUID
(uuid string, tip int)
login.go:206
MethodAllContacts
AllContacts ...
contact.go:327
MethodContent
Content text msg's content
messages/file.go:26
MethodContent
Content text msg's content
messages/text.go:22
MethodContent
Content text msg's content
messages/emoticon.go:22
MethodDescription
()
messages/file.go:40
MethodDescription
()
messages/text.go:31
MethodDescription
()
messages/emoticon.go:32
MethodDownloadMedia
DownloadMedia use to download a voice or immage msg
msg.go:210
MethodError
response's error msg.
wechat.go:60
MethodGetContactHeadImg
GetContactHeadImg ...
contact.go:148
MethodHook
Hook modify event on fly
events.go:182
MethodIsSuccess
IsSuccess flag this request is success or failed.
wechat.go:55
MethodMembersOfGroup
MembersOfGroup ..返回群中所有的成员
contact.go:338
FunctionNewBot
NewBot is start point for wx bot.
wechat.go:187
FunctionNewEmoticonMsgMsg
NewEmoticonMsgMsg create a new instance
messages/emoticon.go:37
FunctionNewFileMsg
NewFileMsg construct a new FileMsg's instance
messages/file.go:45
next →1–100 of 122, ranked by callers