Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThreadsafeCache ¶
type ThreadsafeCache struct {
// contains filtered or unexported fields
}
func NewThreadsafeCache ¶
func NewThreadsafeCache() *ThreadsafeCache
func (*ThreadsafeCache) Drop ¶
func (c *ThreadsafeCache) Drop(key interface{})
func (*ThreadsafeCache) Get ¶
func (c *ThreadsafeCache) Get(key interface{}, defaultcb func(key interface{}) (interface{}, error)) (interface{}, error)
func (*ThreadsafeCache) Snapshot ¶
func (c *ThreadsafeCache) Snapshot() map[interface{}]interface{}
Click to show internal directories.
Click to hide internal directories.