cassandra

package
v0.0.0-...-b6b9972 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package cassandra contains Cassandra-specific repository implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(hosts []string, keyspace string) (*gocql.Session, error)

Connect establishes connection to the Cassandra cluster.

func Initialize

func Initialize(session *gocql.Session) error

Initialize creates tables used by the service.

func NewMessageRepository

func NewMessageRepository(session *gocql.Session) writer.MessageRepository

NewMessageRepository instantiates Cassandra message repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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