glcass

package
v0.0.0-...-5dcd16a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Cassandra backend for gold.GroupListDB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(session *gocql.Session)

Types

type Database

type Database struct {
	Session  *gocql.Session
	OnUpsert gocql.Consistency
}

func (*Database) AddGroupDescr

func (d *Database) AddGroupDescr(group, descr []byte) error

func (*Database) AddGroupStatus

func (d *Database) AddGroupStatus(group []byte, status byte) error

func (*Database) GroupBaseList

func (d *Database) GroupBaseList(status, descr bool, targ func(group []byte, status byte, descr []byte)) bool

func (*Database) GroupHeadFilterWithAuth

func (d *Database) GroupHeadFilterWithAuth(rank postauth.AuthRank, groups [][]byte) ([][]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL