Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEntry ¶
type CacheEntry struct { Data interface{} Expiry int64 }
func (CacheEntry) IsExpired ¶
func (ce CacheEntry) IsExpired() bool
type InMemoryStorage ¶
type InMemoryStorage struct {
// contains filtered or unexported fields
}
func NewInMemoryStorage ¶
func NewInMemoryStorage() *InMemoryStorage
func (InMemoryStorage) Get ¶
func (ims InMemoryStorage) Get(key string) interface{}
Click to show internal directories.
Click to hide internal directories.