Documentation
¶
Index ¶
- func CreateSchema(sdb *sql.DB)
- func EnumerateAll(testing bool, db *badger.DB, c *chan EntryHolder)
- func EnumeratePosts(db *badger.DB, c *chan *lib.PostEntry)
- func EnumerateProfiles(db *badger.DB, c *chan *lib.ProfileEntry)
- func InsertDiamondSqlite(sdb *sql.DB, de *lib.DiamondEntry)
- func InsertFollowee(sdb *sql.DB, followee, follower string)
- func InsertPostSqlite(sdb *sql.DB, post *lib.PostEntry)
- func InsertProfileSqlite(db *sql.DB, profile *lib.ProfileEntry)
- func LookupUsername(db *badger.DB, pkid []byte) string
- func OpenSqliteDB() *sql.DB
- type EntryHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSchema ¶
func EnumerateAll ¶ added in v0.0.5
func EnumerateAll(testing bool, db *badger.DB, c *chan EntryHolder)
func EnumerateProfiles ¶ added in v0.0.5
func EnumerateProfiles(db *badger.DB, c *chan *lib.ProfileEntry)
func InsertDiamondSqlite ¶ added in v0.0.6
func InsertDiamondSqlite(sdb *sql.DB, de *lib.DiamondEntry)
func InsertFollowee ¶ added in v0.0.5
func InsertProfileSqlite ¶ added in v0.0.5
func InsertProfileSqlite(db *sql.DB, profile *lib.ProfileEntry)
func OpenSqliteDB ¶
Types ¶
type EntryHolder ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.