database

package
v0.0.0-...-431252f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: BSL-1.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	Redis redis.Redis
	MySQL mysql.MySQL
	Mail  mail.Mail
}

func NewDatabase

func NewDatabase(conf config.Config) (*Database, error)

func (*Database) Close

func (db *Database) Close() (err [2]error)

func (*Database) Wrap

type Wrap

type Wrap interface {
	func(*Database, http.ResponseWriter, *http.Request) | func(http.ResponseWriter, *http.Request)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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