Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CachedObject ¶
type CachedObject struct {
// contains filtered or unexported fields
}
func NewCachedObject ¶
func NewCachedObject(object interface{}, now time.Time, ttl *time.Duration) *CachedObject
func (*CachedObject) IsExpired ¶
func (self *CachedObject) IsExpired() bool
Click to show internal directories.
Click to hide internal directories.