riviera: hawx.me/code/riviera/river/data Index | Files | Directories

package data

import "hawx.me/code/riviera/river/data"

Package data provides the ability to rebuild previous feeds and remove duplicate items.


Package Files


type Database Uses

type Database interface {
    // Feed returns a database for storing known items from a named feed.
    Feed(name string) (feed.Database, error)

    // Confluence returns a database for storing past rivers.
    Confluence() (confluence.Database, error)

    // Close releases all database resources.
    Close() error

Database is a key-value store with data arranged in buckets.


boltdataPackage boltdata implements data over a bolt database.
memdataPackage memdata implements data over a set of in memory maps.

Package data imports 2 packages (graph) and is imported by 8 packages. Updated 2019-04-19. Refresh now. Tools for package owners.