Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrQueueClosed = errors.New("queue is closed")
Functions ¶
func NewPressureQueue ¶
func NewPressureQueue(keyFunc KeyFunc) *pressurequeue
Types ¶
type ActionType ¶
type ActionType string
const ( Added ActionType = "Added" Updated ActionType = "Updated" Deleted ActionType = "Deleted" )
type Event ¶
type Event struct { Action ActionType Object interface{} // contains filtered or unexported fields }
func (Event) GetReputCount ¶
type EventQueue ¶
Click to show internal directories.
Click to hide internal directories.