Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SortingField ¶
type SortingField string
SortingField is a type that represents the field to sort the cache items by.
const ( SortByValue SortingField = "Value" // Sort by the value of the cache item SortByLastAccess SortingField = "lastAccess" // Sort by the last access time of the cache item SortByAccessCount SortingField = "accessCount" // Sort by the number of times the cache item has been accessed SortByExpiration SortingField = "Expiration" // Sort by the expiration duration of the cache item )
Constants for the different fields that the cache items can be sorted by.
func (SortingField) String ¶
func (f SortingField) String() string
String returns the string representation of the SortingField.
Click to show internal directories.
Click to hide internal directories.