(params string)
| 232 | } |
| 233 | |
| 234 | func 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. |
| 253 | type MsgDefaultAcsMode struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…