Versions in this module Expand all Collapse all v1 v1.0.0 May 15, 2024 Changes in this version + type Options struct + Expire time.Duration + Serialize Serialize + func NewOptions() *Options + func (o *Options) Merge(options ...*Options) *Options + func (o *Options) SetExpire(exp time.Duration) *Options + func (o *Options) SetSerialize(serialize Serialize) *Options + type Serialize int + const SerializeJSON + const SerializeMessagePack + func (r Serialize) Marshal(v any) ([]byte, error) + func (r Serialize) Unmarshal(data []byte, v any) error + func (r Serialize) Valid() bool