Documentation ¶
Index ¶
- func CreateSchema(sdb *sql.DB)
- func EnumerateAll(okList map[string]bool, testing bool, db *badger.DB, c *chan EntryHolder)
- func EnumeratePosts(db *badger.DB, c *chan *lib.PostEntry)
- func EnumeratePrefix(flavor string, prefix []byte, testing bool, db *badger.DB, c *chan EntryHolder)
- func EnumerateProfiles(db *badger.DB, c *chan *lib.ProfileEntry)
- func HandleGatherLikesRecloutsDiamonds(sdb *sql.DB, db *badger.DB, author string)
- func InsertDiamondSqlite(sdb *sql.DB, de *lib.DiamondEntry)
- func InsertFollowee(sdb *sql.DB, followee, follower string)
- func InsertLikeSqlite(sdb *sql.DB, le *lib.LikeEntry)
- func InsertPostSqlite(sdb *sql.DB, post *lib.PostEntry)
- func InsertProfileSqlite(db *sql.DB, profile *lib.ProfileEntry)
- func InsertRecloutSqlite(sdb *sql.DB, re *lib.RecloutEntry)
- func LookupUsername(db *badger.DB, pkid []byte) string
- func OpenSqliteDB(fullpath string) *sql.DB
- func OpenSqliteDefaultDB() *sql.DB
- func PostsByAuthor(db *badger.DB, author string)
- func UsernameToPub(db *badger.DB, username string) []byte
- type EntryHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSchema ¶
func EnumerateAll ¶ added in v0.0.5
func EnumerateAll(okList map[string]bool, testing bool, db *badger.DB, c *chan EntryHolder)
func EnumeratePosts ¶
func EnumeratePrefix ¶ added in v0.0.7
func EnumeratePrefix(flavor string, prefix []byte, 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 HandleGatherLikesRecloutsDiamonds ¶ added in v0.0.7
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 InsertRecloutSqlite ¶ added in v0.0.7
func InsertRecloutSqlite(sdb *sql.DB, re *lib.RecloutEntry)
func LookupUsername ¶
func OpenSqliteDB ¶
func OpenSqliteDefaultDB ¶ added in v0.0.7
func PostsByAuthor ¶ added in v0.0.7
func PostsByAuthor(db *badger.DB, author string)
func UsernameToPub ¶ added in v0.0.7
Types ¶
type EntryHolder ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.