fhttp/handler.go
func NewHandler(bodyHandler fasthttp.RequestHandler,
	expireDuration time.Duration) *Handler {
	e := entry.NewEntry(expireDuration)

	return &Handler{
		bodyHandler: bodyHandler,
		rule:        DefaultRuleSet,
		entry:       e,
	}
}
func NewHandler(bodyHandler fasthttp.RequestHandler,
	expireDuration time.Duration) *Handler {
	e := entry.NewEntry(expireDuration)

	return &Handler{
		bodyHandler: bodyHandler,
		rule:        DefaultRuleSet,
		entry:       e,
	}
}
// NewHandler returns a new cached handler