(m uhaha.Machine, args []string)
| 112 | func cmdSISMEMBER(m uhaha.Machine, args []string) (interface{}, error) { |
| 113 | if len(args) != 3 { |
| 114 | return nil, uhaha.ErrWrongNumArgs |
| 115 | } |
| 116 | n, err := ldb.SIsMember([]byte(args[1]), []byte(args[2])) |
| 117 | |
| 118 | return redcon.SimpleInt(n), err |
| 119 | } |
| 120 | |
| 121 | func cmdSMEMBERS(m uhaha.Machine, args []string) (interface{}, error) { |
| 122 | if len(args) != 2 { |
nothing calls this directly
no outgoing calls
no test coverage detected