gateway

package
v0.0.0-...-d3349d2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMySQL

func InitMySQL(sqlFS embed.FS, dbHost string, dbPort int) (*gorm.DB, error)

func InitSQLiteInFile

func InitSQLiteInFile(sqlFS embed.FS) (*gorm.DB, error)

func ListDB

func ListDB() map[string]*gorm.DB

func OpenSQLiteInMemory

func OpenSQLiteInMemory(sqlFS embed.FS) (*gorm.DB, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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