Documentation ¶
Overview ¶
Cassandra backend for gold.GroupListDB.
Index ¶
- func Initialize(session *gocql.Session)
- type Database
- func (d *Database) AddGroupDescr(group, descr []byte) error
- func (d *Database) AddGroupStatus(group []byte, status byte) error
- func (d *Database) GroupBaseList(status, descr bool, targ func(group []byte, status byte, descr []byte)) bool
- func (d *Database) GroupHeadFilterWithAuth(rank postauth.AuthRank, groups [][]byte) ([][]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type Database ¶
type Database struct { Session *gocql.Session OnUpsert gocql.Consistency }
func (*Database) AddGroupDescr ¶
func (*Database) AddGroupStatus ¶
func (*Database) GroupBaseList ¶
Click to show internal directories.
Click to hide internal directories.