db

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CQLCon

type CQLCon struct {
	// contains filtered or unexported fields
}

func NewCQLCon

func NewCQLCon(keyspace string, logger gocql.StdLogger, cluster ...string) (*CQLCon, error)

func (*CQLCon) Close

func (con *CQLCon) Close() error

func (*CQLCon) Session

func (con *CQLCon) Session() *gocql.Session

type DBLogger

type DBLogger struct {
	// contains filtered or unexported fields
}

func NewDBLogger

func NewDBLogger(logger *slog.Logger) *DBLogger

func (*DBLogger) Print

func (l *DBLogger) Print(v ...interface{})

func (*DBLogger) Printf

func (l *DBLogger) Printf(format string, v ...interface{})

func (*DBLogger) Println

func (l *DBLogger) Println(v ...interface{})

Jump to

Keyboard shortcuts

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