MCPcopy Index your code
hub / github.com/tinode/chat / parseMsgClientDel

Function parseMsgClientDel

server/datamodel.go:234–250  ·  view source on GitHub ↗
(params string)

Source from the content-addressed store, hash-verified

232}
233
234func parseMsgClientDel(params string) int {
235 switch params {
236 case "", "msg":
237 return constMsgDelMsg
238 case "topic":
239 return constMsgDelTopic
240 case "sub":
241 return constMsgDelSub
242 case "user":
243 return constMsgDelUser
244 case "cred":
245 return constMsgDelCred
246 default:
247 // ignore
248 }
249 return 0
250}
251
252// MsgDefaultAcsMode is a topic default access mode.
253type MsgDefaultAcsMode struct {

Callers 1

delMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…