MCPcopy Create free account
hub / github.com/chanify/chanify / UnbindDevice

Method UnbindDevice

model/model.go:18–18  ·  view source on GitHub ↗
(uid string, uuid string)

Source from the content-addressed store, hash-verified

16 UpsertUser(u *User) error
17 BindDevice(uid string, uuid string, key []byte, devType int) error
18 UnbindDevice(uid string, uuid string) error
19 UpdatePushToken(uid string, uuid string, token []byte, sandbox bool) error
20 GetDeviceKey(uuid string) ([]byte, error)
21 GetDevices(uid string) ([]*Device, error)

Callers 4

handleUnbindUserMethod · 0.65
TestSqliteDeviceFunction · 0.65
TestNoSQLFunction · 0.65
UnbindDeviceMethod · 0.65

Implementers 3

sqlitemodel/sqlite.go
mysqlmodel/mysql.go
nosqlmodel/nosql.go

Calls

no outgoing calls

Tested by 2

TestSqliteDeviceFunction · 0.52
TestNoSQLFunction · 0.52