utils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MPL-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrNoRows

func IsErrNoRows(err error) bool

Types

type DBType

type DBType string
const (
	StandardMongo DBType = "mongo"
	AWSDocumentDB DBType = "docdb"
	CosmosDB      DBType = "cosmosdb"
	PostgresDB    DBType = "postgres"
)

type Info

type Info struct {
	Type               DBType
	Version            string
	Name               string
	User               string
	FullVersion        string
	SizeBytes          int64
	StartTime          time.Time
	MaxConnections     int
	CurrentConnections int
	TableCount         int
}

Jump to

Keyboard shortcuts

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