Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Setter ¶
type Setter interface {
Set(string, interface{})
}
Setter defines a context that enables setting values.
type State ¶
type State struct {
// contains filtered or unexported fields
}
State defines a table of the packages for which an update/check request was made recently.
func FromContext ¶
FromContext returns the Store associated with this context.
func (*State) ClearExpired ¶
func (s *State) ClearExpired()
ClearExpired clears all expired entries from the state table.
Click to show internal directories.
Click to hide internal directories.