Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoalescingLayerStorage ¶
CoalescingLayerStorage is the layer to be able to not coalesce uncoalesceable request
func InitializeCoalescingLayerStorage ¶
func InitializeCoalescingLayerStorage() *CoalescingLayerStorage
InitializeCoalescingLayerStorage initialize the storage
func (*CoalescingLayerStorage) Delete ¶
func (provider *CoalescingLayerStorage) Delete(key string)
Delete method will delete the response in Ristretto provider if exists corresponding to key param
func (*CoalescingLayerStorage) Destruct ¶
func (provider *CoalescingLayerStorage) Destruct() error
Destruct method will shutdown properly the provider
func (*CoalescingLayerStorage) Exists ¶
func (provider *CoalescingLayerStorage) Exists(key string) bool
Exists method returns if the key should coalesce
func (*CoalescingLayerStorage) Set ¶
func (provider *CoalescingLayerStorage) Set(key string)
Set method will store the response in Ristretto provider
Click to show internal directories.
Click to hide internal directories.