Config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func DbURL

func DbURL(dbConfig *DBConfig) string

Types

type DBConfig

type DBConfig struct {
	User                   string
	Password               string
	InstanceConnectionName string
	DBName                 string
	SocketDir              string
}

DBConfig represents db configuration

func BuildDBConfig

func BuildDBConfig() *DBConfig

Jump to

Keyboard shortcuts

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