mariadb

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mariadb provides a thin wrapper over the MySQL driver with variant set to "mariadb".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(opts Opts) (driver.Connection, error)

Connect opens a MariaDB connection via the MySQL driver with Variant "mariadb".

Types

type Opts

type Opts struct {
	Host     string
	Port     int
	Database string
	Username string
	Password string
	Readonly bool
}

Opts holds MariaDB connection options.

Jump to

Keyboard shortcuts

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