- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for error (0.14 sec)
-
internal/cachevalue/cache.go
"time" ) // Opts contains options for the cache. 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
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
defer configLock.Unlock() c.Enable = ncfg.Enable c.Endpoint = ncfg.Endpoint c.BlockSize = ncfg.BlockSize c.clnt = ncfg.clnt } // cache related errors var ( ErrInvalidArgument = errors.New("invalid argument") ErrKeyMissing = errors.New("key is missing") ) const ( mcacheV1Check = "/_mcache/v1/check" mcacheV1Update = "/_mcache/v1/update" mcacheV1Delete = "/_mcache/v1/delete" )
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)