Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KevinGong2013/wechat
/ functions
Functions
122 in github.com/KevinGong2013/wechat
⨍
Functions
122
◇
Types & classes
32
↓ 8 callers
Method
Error
()
wechat.go:46
↓ 7 callers
Function
createFile
CreateFile save data to filesystem.
utils.go:57
↓ 6 callers
Method
Execute
Execute a http request by default http client.
wechat.go:270
↓ 6 callers
Method
Handle
Handle 处理消息,联系人,登录态 等等 所有东西
events.go:177
↓ 6 callers
Function
search
Search is a helper to remove useless char
utils.go:16
↓ 5 callers
Method
PassTicketKV
PassTicketKV return a string like `pass_ticket=1234s`
wechat.go:287
↓ 5 callers
Method
String
()
messages/file.go:59
↓ 5 callers
Function
str
Str convert int64 to string.
utils.go:89
↓ 4 callers
Method
ForceUpdateGroup
ForceUpdateGroup update group information
contact.go:258
↓ 4 callers
Method
IsSuccess
()
wechat.go:45
↓ 4 callers
Method
SkeyKV
SkeyKV return a string like `skey=1234s`
wechat.go:292
↓ 4 callers
Method
merge
(name string, ec chan Event)
events.go:85
↓ 3 callers
Method
ExecuteRequest
ExecuteRequest is designed for perform http request
wechat.go:224
↓ 3 callers
Method
cookieCachePath
()
wechat.go:96
↓ 3 callers
Method
init
()
login.go:278
↓ 3 callers
Function
now
Now is current unix time string.
utils.go:84
↓ 3 callers
Method
refreshBaseInfo
()
login.go:397
↓ 3 callers
Method
refreshCookieCache
(cookies []*http.Cookie)
login.go:373
↓ 2 callers
Method
ContactByUserName
ContactByUserName ...
contact.go:293
↓ 2 callers
Method
SendMsg
SendMsg send Message to group or contact
msg.go:48
↓ 2 callers
Method
SendTextMsg
SendTextMsg send text message
msg.go:97
↓ 2 callers
Method
UUIDDidConfirm
(err error)
login.go:21
↓ 2 callers
Method
appendContacts
修改在这里处理
cache.go:114
↓ 2 callers
Method
baseInfoCachePath
()
wechat.go:93
↓ 2 callers
Function
clientMsgID
()
msg.go:284
↓ 2 callers
Method
contactByUserName
(un string)
cache.go:129
↓ 2 callers
Method
contactDidChange
(cts []map[string]interface{}, changeType int)
contact.go:368
↓ 2 callers
Function
deleteFile
DeleteFile from file system
utils.go:128
↓ 2 callers
Method
emitContactChangeEvent
(c Contact, ct int)
events.go:264
↓ 2 callers
Method
fetchGroups
(usernames []string)
contact.go:169
↓ 2 callers
Method
formattedSyncCheckKey
()
sync.go:182
↓ 2 callers
Function
newClient
()
wechat.go:160
↓ 2 callers
Method
syncCheck
()
sync.go:107
↓ 2 callers
Method
updateContact
(v map[string]interface{})
cache.go:59
↓ 1 callers
Method
AddTimer
AddTimer ..
events.go:219
↓ 1 callers
Method
AddTiming
AddTiming ...
events.go:260
↓ 1 callers
Method
Content
()
msg.go:40
↓ 1 callers
Method
CookieDataTicket
CookieDataTicket ...
msg.go:300
↓ 1 callers
Function
DefaultConfigure
DefaultConfigure create default configuration
wechat.go:80
↓ 1 callers
Method
Description
()
msg.go:42
↓ 1 callers
Method
Go
Go 皮皮虾我们走
events.go:139
↓ 1 callers
Method
Path
()
msg.go:38
↓ 1 callers
Method
ProcessUUID
(uuid string)
login.go:20
↓ 1 callers
Method
SearchContact
ContactsByNickName search contact with nick name
contact.go:300
↓ 1 callers
Method
SyncContact
SyncContact with Wechat server.
contact.go:79
↓ 1 callers
Method
To
()
msg.go:39
↓ 1 callers
Method
UpdateGroupIfNeeded
UpdateGroupIfNeeded ...
contact.go:250
↓ 1 callers
Method
UploadMedia
UploadMedia is a convernice method to upload attachment to wx cdn.
msg.go:114
↓ 1 callers
Function
baseMsg
(to string)
msg.go:288
↓ 1 callers
Method
beginLoginFlow
run is used to login to wechat server. Need end user scan orcode.
login.go:53
↓ 1 callers
Method
beginSync
listen did hold a long connection, retrun data by 4 chans.
sync.go:48
↓ 1 callers
Method
cachedBaseInfo
()
login.go:386
↓ 1 callers
Method
cachedCookies
()
login.go:347
↓ 1 callers
Method
cachedInfo
()
login.go:118
↓ 1 callers
Method
choseAvalibleSyncHost
()
sync.go:150
↓ 1 callers
Function
cleanPath
(p string)
events.go:101
↓ 1 callers
Method
clearContactBy
(username string)
cache.go:76
↓ 1 callers
Method
emitNewMessageEvent
(m map[string]interface{})
events.go:284
↓ 1 callers
Method
fetchGroupsMembers
(groups []map[string]interface{})
contact.go:200
↓ 1 callers
Method
fetchMembers
(list []map[string]string)
contact.go:224
↓ 1 callers
Function
fetchORCodeImage
FetchORCodeImage Get ORCode from wechat login server
utils.go:94
↓ 1 callers
Method
fetchUUID
()
login.go:165
↓ 1 callers
Function
findMatch
(mux map[string]func(Event), path string)
events.go:119
↓ 1 callers
Method
getContacts
(seq float64)
contact.go:64
↓ 1 callers
Method
groupMemberDidChange
(groups []map[string]interface{})
contact.go:394
↓ 1 callers
Method
handleServerEvent
(resp *syncMessageResponse)
events.go:380
↓ 1 callers
Method
httpDebugPath
(url *url.URL)
wechat.go:100
↓ 1 callers
Function
isPathMatch
(pattern, path string)
events.go:111
↓ 1 callers
Method
keepAlive
()
login.go:308
↓ 1 callers
Method
login
(req *http.Request)
login.go:242
↓ 1 callers
Method
match
(path string)
events.go:134
↓ 1 callers
Function
newCache
()
cache.go:53
↓ 1 callers
Function
newContact
(m map[string]interface{})
cache.go:138
↓ 1 callers
Function
newEvtStream
()
events.go:65
↓ 1 callers
Method
newMsg
NewMsg create new message instance
msg.go:245
↓ 1 callers
Function
newTimerCh
NewTimerCh ...
events.go:196
↓ 1 callers
Function
newTimingCh
NewTimingCh ...
events.go:224
↓ 1 callers
Function
newWeChat
NewWeChat is designed for Create a new Wechat instance.
wechat.go:124
↓ 1 callers
Method
reLogin
()
login.go:35
↓ 1 callers
Method
removeContact
(username string)
cache.go:123
↓ 1 callers
Function
replaceEmoji
ReplaceEmoji replace <span class="emoji emoji[a-f0-9]{5}"></span> to 🍎
utils.go:37
↓ 1 callers
Method
sync
()
sync.go:203
↓ 1 callers
Method
syncContacts
(cts []map[string]interface{})
cache.go:84
↓ 1 callers
Method
waitConfirmUUID
(uuid string, tip int)
login.go:206
Method
AllContacts
AllContacts ...
contact.go:327
Method
Content
Content text msg's content
messages/file.go:26
Method
Content
Content text msg's content
messages/text.go:22
Method
Content
Content text msg's content
messages/emoticon.go:22
Method
Description
()
messages/file.go:40
Method
Description
()
messages/text.go:31
Method
Description
()
messages/emoticon.go:32
Method
DownloadMedia
DownloadMedia use to download a voice or immage msg
msg.go:210
Method
Error
response's error msg.
wechat.go:60
Method
GetContactHeadImg
GetContactHeadImg ...
contact.go:148
Method
Hook
Hook modify event on fly
events.go:182
Method
IsSuccess
IsSuccess flag this request is success or failed.
wechat.go:55
Method
MembersOfGroup
MembersOfGroup ..返回群中所有的成员
contact.go:338
Function
NewBot
NewBot is start point for wx bot.
wechat.go:187
Function
NewEmoticonMsgMsg
NewEmoticonMsgMsg create a new instance
messages/emoticon.go:37
Function
NewFileMsg
NewFileMsg construct a new FileMsg's instance
messages/file.go:45
next →
1–100 of 122, ranked by callers