func (z item) EncodeMsg(en *msgp.Writer) (err error) {
	err = en.Append(0x83, 0xa8, 0x63, 0x75, 0x72, 0x72, 0x48, 0x69, 0x74, 0x73)
	if err != nil {
		return
	}
	err = en.WriteInt(z.currHits)
	if err != nil {
		err = msgp.WrapError(err, "currHits")
		return
	}
	err = en.Append(0xa8, 0x70, 0x72, 0x65, 0x76, 0x48, 0x69, 0x74, 0x73)
	if err != nil {
		return
	}
	err = en.WriteInt(z.prevHits)
	if err != nil {
		err = msgp.WrapError(err, "prevHits")
		return
	}
	err = en.Append(0xa3, 0x65, 0x78, 0x70)
	if err != nil {
		return
	}
	err = en.WriteUint64(z.exp)
	if err != nil {
		err = msgp.WrapError(err, "exp")
		return
	}
	return
}
EncodeMsg implements msgp.Encodable
package limiter
import (
	"github.com/gofiber/fiber/v2/internal/msgp"
)
func (z *item) DecodeMsg(dc *msgp.Reader) (err error) {
	var field []byte
	_ = field
	var zb0001 uint32
	zb0001, err = dc.ReadMapHeader()
	if err != nil {
		err = msgp.WrapError(err)
		return
	}
	for zb0001 > 0 {
		zb0001--
		field, err = dc.ReadMapKeyPtr()
		if err != nil {
			err = msgp.WrapError(err)
			return
		}
		switch msgp.UnsafeString(field) {
		case "currHits":
			z.currHits, err = dc.ReadInt()
			if err != nil {
				err = msgp.WrapError(err, "currHits")
				return
			}
		case "prevHits":
			z.prevHits, err = dc.ReadInt()
			if err != nil {
				err = msgp.WrapError(err, "prevHits")
				return
			}
		case "exp":
			z.exp, err = dc.ReadUint64()
			if err != nil {
				err = msgp.WrapError(err, "exp")
				return
			}
		default:
			err = dc.Skip()
			if err != nil {
				err = msgp.WrapError(err)
				return
			}
		}
	}
	return
}