Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitSchema ¶
Types ¶
type Config ¶
type Config struct { Hosts []string Keyspace string Timeout time.Duration Retries int ConnectWait time.Duration }
func (*Config) WithKeyspace ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(config *Config) (*Connection, error)
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) Session ¶
func (c *Connection) Session() *gocql.Session
Click to show internal directories.
Click to hide internal directories.