github.com/altipla-consulting/ravendb-go-client@v0.1.3/http_cache_item.go (about) 1 package ravendb 2 3 import "time" 4 5 type httpCacheItem struct { 6 changeVector *string // TODO: can probably be string 7 payload []byte 8 lastServerUpdate time.Time 9 generation int // TODO: should this be atomicInteger? 10 11 cache *httpCache 12 } 13 14 func newHttpCacheItem() *httpCacheItem { 15 return &httpCacheItem{ 16 lastServerUpdate: time.Now(), 17 } 18 }