package ratelimiter

import "time"

//! Use Redis for rate limiting when in multiple instances

type Limiter interface {
	Allow(ip string) (bool, time.Duration)
}

type Config struct {
	RequestsPerTimeFrame int
	TimeFrame            time.Duration
	Enabled              bool
}
