mysql

package
v0.0.0-...-bee458a Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(DBHost string, DBPort string, DBUserName string, DBPass string, DBDatabaseName string, DBLogMode logger.LogLevel, options ...mysqlOption) (*gorm.DB, error)

func SetConnMaxLifetime

func SetConnMaxLifetime(conns int) mysqlOption

func SetMaxIdleConns

func SetMaxIdleConns(conns int) mysqlOption

func SetMaxOpenConns

func SetMaxOpenConns(conns int) mysqlOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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