github.com/koko1123/flow-go-1@v0.29.6/engine/common/requester/item.go (about)

     1  package requester
     2  
     3  import (
     4  	"time"
     5  
     6  	"github.com/koko1123/flow-go-1/model/flow"
     7  )
     8  
     9  type Item struct {
    10  	EntityID       flow.Identifier     // ID for the entity to be requested
    11  	NumAttempts    uint                // number of times the entity was requested
    12  	LastRequested  time.Time           // approximate timestamp of last request
    13  	RetryAfter     time.Duration       // interval until request should be retried
    14  	ExtraSelector  flow.IdentityFilter // additional filters for providers of this entity
    15  	checkIntegrity bool                // check response integrity using `EntityID`
    16  }