Versions in this module Expand all Collapse all v0 v0.1.1 Oct 8, 2026 v0.1.0 Oct 8, 2026 Changes in this version + const Name + func FormatDSN(cfg *gocql.ClusterConfig) (string, error) + func ParseDSN(dsn string) (*gocql.ClusterConfig, error) + func WithOptions(ctx context.Context, opts ...Option) context.Context + type Connector struct + func NewConnector(cfg *gocql.ClusterConfig) *Connector + func (c *Connector) Close() error + func (c *Connector) Connect(ctx context.Context) (driver.Conn, error) + func (c *Connector) Driver() driver.Driver + type Driver struct + func (d Driver) Open(dsn string) (driver.Conn, error) + func (d Driver) OpenConnector(dsn string) (driver.Connector, error) + type Error string + const ErrConnectorClosed + func (err Error) Error() string + type Option = dbimp.Option[options] + func WithConsistency(c gocql.Consistency) Option + func WithDatabase(name string) Option + func WithIdempotent(idempotent bool) Option + func WithPageSize(n int) Option + func WithParameter(name string, value any) Option + func WithReadonly(readonly bool) Option + func WithSerialConsistency(c gocql.Consistency) Option + func WithTimeout(d time.Duration) Option + func WithTimestamp(t time.Time) Option