github.com/altipla-consulting/ravendb-go-client@v0.1.3/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  }