Documentation ¶
Overview ¶
Package cassandra contains the domain concept definitions needed to support Magistrala Cassandra database functionality.
It provides the abstraction of the Cassandra database service, which is used to configure, setup and connect to the Cassandra database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Hosts []string `env:"CLUSTER" envDefault:"127.0.0.1" envSeparator:","` Keyspace string `env:"KEYSPACE" envDefault:"magistrala"` User string `env:"USER" envDefault:""` Pass string `env:"PASS" envDefault:""` Port int `env:"PORT" envDefault:"9042"` }
Config contains Cassandra DB specific parameters.
Click to show internal directories.
Click to hide internal directories.