func (limiter *Limiter) Get(ctx context.Context, key string) (Context, error) {
	return limiter.Store.Get(ctx, key, limiter.Rate)
}
Get returns the limit for given identifier.
package limiter
import (
	"context"
)
type Context struct {
	Limit     int64
	Remaining int64
	Reset     int64
	Reached   bool
}
type Limiter struct {
	Store   Store
	Rate    Rate
	Options Options
}
func New(store Store, rate Rate, options ...Option) *Limiter {
	opt := Options{
		IPv4Mask:           DefaultIPv4Mask,
		IPv6Mask:           DefaultIPv6Mask,
		TrustForwardHeader: false,
	}
	for _, o := range options {
		o(&opt)
	}
	return &Limiter{
		Store:   store,
		Rate:    rate,
		Options: opt,
	}
}