Versions in this module Expand all Collapse all v0 v0.2.3 Feb 27, 2015 v0.2.2 Feb 27, 2015 Changes in this version + type Entry struct + Key u.Key + Priority int + type ThreadSafe struct + Wantlist Wantlist + func NewThreadSafe() *ThreadSafe + func (w *ThreadSafe) Add(k u.Key, priority int) + func (w *ThreadSafe) Contains(k u.Key) (Entry, bool) + func (w *ThreadSafe) Entries() []Entry + func (w *ThreadSafe) Len() int + func (w *ThreadSafe) Remove(k u.Key) + func (w *ThreadSafe) SortedEntries() []Entry + type Wantlist struct + func New() *Wantlist + func (w *Wantlist) Add(k u.Key, priority int) + func (w *Wantlist) Contains(k u.Key) (Entry, bool) + func (w *Wantlist) Entries() []Entry + func (w *Wantlist) Len() int + func (w *Wantlist) Remove(k u.Key) + func (w *Wantlist) SortedEntries() []Entry