Documentation ¶
Overview ¶
Package cassandra is a driver for Apache Cassandra
Supply a session and the database and collection name you would like to use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cassandra ¶
type Cassandra struct {
// contains filtered or unexported fields
}
Cassandra can be used for adding and checking passwords.
func New ¶
New returns a new database. Supply a valid (copy of a) session and the database and collection you would like to use. The correct keyspace must be set on the session. Before using the database, the table should be created:
create table keyspace.table(password text, PRIMARY KEY(password));
Replace the keyspace and table with the keyspace and table you want to use.
Click to show internal directories.
Click to hide internal directories.