internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 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