- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for set (0.12 sec)
-
internal/cachevalue/cache.go
type Opts struct { // When set to true, return the last cached value // even if updating the value errors out. // Returns the last good value AND the error. ReturnLastGood bool // If CacheError is set, errors will be cached as well // and not continuously try to update. // Should not be combined with ReturnLastGood. CacheError bool // If NoWait is set, Get() will return the last good value,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 16:00:42 GMT 2024 - 4.2K bytes - Viewed (0) -
internal/config/cache/cache.go
default: return nil, ErrInvalidArgument } } // Set sets the cache object info func (c Config) Set(ci *ObjectInfo) { configLock.RLock() defer configLock.RUnlock() if !c.Enable { return } if c.Endpoint == "" { // Endpoint not set, make this a no-op return } buf, err := ci.MarshalMsg(nil) if err != nil { return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.6K bytes - Viewed (0)