Documentation ¶
Index ¶
- type DiffChannels
- type IndividualSet
- func (is *IndividualSet) Add(item []byte) (err error)
- func (is *IndividualSet) Contains(key []byte) bool
- func (is *IndividualSet) Remove(item []byte) (err error)
- func (is *IndividualSet) Scan(f func(item []byte) bool) (err error)
- func (is *IndividualSet) ScanRange(start, limit []byte, f func(item []byte) bool) (err error)
- type MutableSortedSet
- type ObservableSortedSet
- type SharedSet
- func (ss *SharedSet) Contains(key []byte) bool
- func (ss *SharedSet) DeleteSetFor(who friends.ID) (err error)
- func (ss *SharedSet) DiffChannels() DiffChannels
- func (ss *SharedSet) GetSetFor(who friends.ID) IndividualSet
- func (ss *SharedSet) Scan(f func(item []byte) bool) (err error)
- func (ss *SharedSet) ScanRange(start, limit []byte, f func(item []byte) bool) (err error)
- type SharedSetState
- type SimpleSet
- type SortedSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiffChannels ¶
type DiffChannels struct {
Adds, Deletes chan []byte
}
type IndividualSet ¶
type IndividualSet struct {
// contains filtered or unexported fields
}
func (*IndividualSet) Add ¶
func (is *IndividualSet) Add(item []byte) (err error)
func (*IndividualSet) Contains ¶
func (is *IndividualSet) Contains(key []byte) bool
func (*IndividualSet) Remove ¶
func (is *IndividualSet) Remove(item []byte) (err error)
type MutableSortedSet ¶
type ObservableSortedSet ¶
type ObservableSortedSet interface { SortedSet DiffChannels() DiffChannels }
type SharedSet ¶
type SharedSet struct {
// contains filtered or unexported fields
}
func NewSharedSet ¶
func NewSharedSet(kvs kvstore.SortedStore) (*SharedSet, error)
func (*SharedSet) DiffChannels ¶
func (ss *SharedSet) DiffChannels() DiffChannels
type SharedSetState ¶
type SharedSetState struct {}
type SimpleSet ¶
type SimpleSet struct {
// contains filtered or unexported fields
}
func NewSimpleSet ¶
func NewSimpleSet(kvs kvstore.SortedStore) SimpleSet
Click to show internal directories.
Click to hide internal directories.