service

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Service = &struct {
		Database, MySQL, SQLite string
	}{
		MySQL:  log.Service("mysql"),
		SQLite: log.Service("sqlite"),
	}
	Module = &struct {
		User string
	}{
		User: log.Module("user"),
	}
)
View Source
var (
	Database *sql.Database
)

Functions

func CloseDatabase

func CloseDatabase() error

func Down

func Down() error

func OpenMySQL

func OpenMySQL() error

func OpenSQLite

func OpenSQLite() error

func StartModuleUser

func StartModuleUser() error

func Up

func Up() error

Types

This section is empty.

Directories

Path Synopsis
logger
log

Jump to

Keyboard shortcuts

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