Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/danielgross/whatsapp-gpt
/ register
Method
register
main.go:29–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
}
28
29
func
(mycli *MyClient) register() {
30
mycli.eventHandlerID = mycli.WAClient.AddEventHandler(mycli.eventHandler)
31
}
32
33
func
(mycli *MyClient) eventHandler(evt
interface
{}) {
34
switch
v := evt.(
type
) {
Callers
1
main
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected