@ -17,6 +17,10 @@ func (rc RedisCmd) MarshalJSON() ([]byte, error) {
return []byte(`"` + rc.String() + `"`), nil
}
func (rc RedisCmd) MarshalBinary() ([]byte, error) {
return rc.MarshalJSON()
const (
RedisCommandExists RedisCmd = "EXISTS"
RedisCommandTTL RedisCmd = "TTL"
The note is not visible to the blocked user.