/**
 * Copyright 2018 Twitter, Inc.
 * Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 */ import { Context } from "sqrl" ; import { RedisInterface , RateLimitOptions } from "../services/RedisInterface" ; export class RedisService implements RedisInterface { constructor ( ) { throw new Error ( "Redis connections are not available in browser" ) ; } rateLimitFetch ( ctx , key , opt ) { throw new Error ( "Method not implemented." ) ; } sessionize ( ctx , key , opt ) { throw new Error ( "Method not implemented." ) ; } increment ( ctx , key , amount ? ) { throw new Error ( "Method not implemented." ) ; } get ( ctx , key ) { throw new Error ( "Method not implemented." ) ; } del ( ctx , ... keys ) { throw new Error ( "Method not implemented." ) ; } set ( ctx , key , value , mode ? ) { throw new Error ( "Method not implemented." ) ; } getList ( ctx , key ) { throw new Error ( "Method not implemented." ) ; } listPush ( ctx , key , ... values ) { throw new Error ( "Method not implemented." ) ; } pfcount ( ctx , keys ) { throw new Error ( "Method not implemented." ) ; } pfadd ( ctx , key , values ) { throw new Error ( "Method not implemented." ) ; } expire ( ctx , key , seconds ) { throw new Error ( "Method not implemented." ) ; } mgetNumbers ( ctx , keys ) { throw new Error ( "Method not implemented." ) ; } }