Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YKeyStorage ¶
type YKeyStorage struct { *ristretto.Cache Keys map[string]configurationtypes.SurrogateKeys }
YKeyStorage is the layer for YKey support storage
func InitializeYKeys ¶
func InitializeYKeys(keys map[string]configurationtypes.SurrogateKeys) *YKeyStorage
InitializeYKeys will initialize the ykey storage system
func (*YKeyStorage) AddToTags ¶
func (y *YKeyStorage) AddToTags(url string, tags []string)
AddToTags add an URL to a tag list
func (*YKeyStorage) GetValidatedTags ¶
func (y *YKeyStorage) GetValidatedTags(key string, headers http.Header) []string
GetValidatedTags returns the validated tags based on the key x headers
func (*YKeyStorage) InvalidateTagURLs ¶
func (y *YKeyStorage) InvalidateTagURLs(urls string) []string
InvalidateTagURLs invalidate URLs in the stored map
func (*YKeyStorage) InvalidateTags ¶
func (y *YKeyStorage) InvalidateTags(tags []string) []string
InvalidateTags invalidate a tag list
Click to show internal directories.
Click to hide internal directories.