Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryStore ¶
type InMemoryStore struct {
// contains filtered or unexported fields
}
var Store *InMemoryStore
func NewStore ¶
func NewStore(defaultExpiration time.Duration) *InMemoryStore
func (*InMemoryStore) Close ¶
func (s *InMemoryStore) Close()
func (*InMemoryStore) Delete ¶
func (s *InMemoryStore) Delete(key string)
func (*InMemoryStore) Get ¶
func (s *InMemoryStore) Get(key string) (interface{}, bool)
Click to show internal directories.
Click to hide internal directories.