gofxorm

package
v0.0.0-...-40c044f Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Engine *xorm.EngineGroup
)

Functions

func Initialize

func Initialize()

Types

type Conf

type Conf struct {
	UserCache bool
	ShowSQL   bool
	Master    Database
	Slave     Database `yaml:",flow"`
}

Conf All Database configuration Settings

type Database

type Database struct {
	Type     string `yaml:",omitempty"`
	Address  string
	Port     int
	User     string `yaml:",omitempty"`
	Password string `yaml:",omitempty"`
	DB       string `yaml:",omitempty"`
}

Database configuration Settings

Jump to

Keyboard shortcuts

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