Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) GetOrProcess ¶
func (c *Cache) GetOrProcess(key interface{}, process LongProcess) (interface{}, error)
type LongProcess ¶
type LongProcess func() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.