github.com/ravendb/ravendb-go-client@v0.0.0-20240229102137-4474ee7aa0fa/index_information.go (about) 1 package ravendb 2 3 import "time" 4 5 type IndexInformation struct { 6 Name string `json:"Name"` 7 IsStale bool `json:"IsStale"` 8 State IndexState `json:"State"` 9 LockMode IndexLockMode `json:"LockMode"` 10 Priority IndexPriority `json:"Priority"` 11 Type IndexType `json:"Type"` 12 LastIndexingTime Time `json:"LastIndexingTime"` 13 } 14 15 func (i *IndexInformation) GetLastIndexingTime() time.Time { 16 return time.Time(i.LastIndexingTime) 17 }