Documentation ¶
Index ¶
- Constants
- func Add(topic string) (err error)
- func Append(topic, partition string, entries Entries) (err error)
- func Build(dataDir string)
- func Catalog() map[string]map[string]int
- func Fill() error
- func GetAll(topic string, from, to *time.Time, last int) map[string]Entries
- func Pull() <-chan interface{}
- func PullAdditions() <-chan *Publication
- func PullRemovals() <-chan *Publication
- func Remove(topic string)
- func Size() (size int)
- func Trim()
- func Update(topic, partition string, action int) (err error)
- type Cache
- type CacheCommit
- type Entries
- type Entry
- type Partition
- type Publication
- type Router
- type Topic
Constants ¶
View Source
const ( AddPartition = iota RemovePartition ClearPartition )
Variables ¶
This section is empty.
Functions ¶
func PullAdditions ¶
func PullAdditions() <-chan *Publication
func PullRemovals ¶
func PullRemovals() <-chan *Publication
Types ¶
type Cache ¶
type Cache struct { LastCommit CacheCommit // contains filtered or unexported fields }
type CacheCommit ¶
func LastCommit ¶
func LastCommit() CacheCommit
type Publication ¶
Click to show internal directories.
Click to hide internal directories.