db_config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConfig

type DBConfig struct {
	// contains filtered or unexported fields
}

func CreateNewDBConfig

func CreateNewDBConfig(user string, pass string, host string, port int, dbName string) *DBConfig

func (*DBConfig) GetDatabaseName

func (c *DBConfig) GetDatabaseName() string

func (*DBConfig) GetHost

func (c *DBConfig) GetHost() string

func (*DBConfig) GetMysqlDSN

func (c *DBConfig) GetMysqlDSN() string

func (*DBConfig) GetPassword

func (c *DBConfig) GetPassword() string

func (*DBConfig) GetPort

func (c *DBConfig) GetPort() int

func (*DBConfig) GetUser

func (c *DBConfig) GetUser() string

Jump to

Keyboard shortcuts

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