internal

package
v0.0.0-...-88a4969 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoDatabaseConfiguration = errors.New("there isn't any database setting in the configuration file")
)

Functions

This section is empty.

Types

type MultiDBSource

type MultiDBSource struct {
	Lock sync.RWMutex
	DBs  []*gorm.DB
}

func (MultiDBSource) Size

func (s MultiDBSource) Size() int

Size get db connection size

Jump to

Keyboard shortcuts

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