metadata

package
v0.0.0-...-16e09b4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

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
}

func New

func New(db *gocql.Session) *Cassandra

func (*Cassandra) ClusterMeta

func (c *Cassandra) ClusterMeta() (*Cluster, error)

type Cluster

type Cluster struct {
	Version    Version
	CQLVersion string
	Name       string
	Protocol   string
	Address    net.IP
}

type Version

type Version struct {
	Major, Minor, Patch int
}

func (*Version) Set

func (c *Version) Set(v string) error

func (Version) String

func (c Version) String() string

func (*Version) UnmarshalCQL

func (c *Version) UnmarshalCQL(info gocql.TypeInfo, data []byte) error

Jump to

Keyboard shortcuts

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