xcql

package
v0.0.0-...-efd9455 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(conf CassandraConfig) *gocql.Session

Types

type CassandraConfig

type CassandraConfig struct {
	Hosts         []string
	Port          int
	Keyspace      string
	Username      string
	Password      string
	TimeoutSecond int64
	Consistency   string // Any One Two Three Quorum All LocalQuorum EachQuorum LocalOne
}

Jump to

Keyboard shortcuts

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