dbmanager

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMariaDBManager

func NewMariaDBManager(c MariaDBConfig) (domain.MariaDBManager, error)

func NewMongoDBManager

func NewMongoDBManager(config MongoDBConfig) (domain.MongoDBManager, error)

Types

type MariaDBConfig

type MariaDBConfig struct {
	Host          string `mapstructure:"host" yaml:"host"`
	Port          int    `mapstructure:"port" yaml:"port"`
	AdminUser     string `mapstructure:"adminUser" yaml:"adminUser"`
	AdminPassword string `mapstructure:"adminPassword" yaml:"adminPassword"`
}

type MongoDBConfig

type MongoDBConfig struct {
	Host          string `mapstructure:"host" yaml:"host"`
	Port          int    `mapstructure:"port" yaml:"port"`
	AdminUser     string `mapstructure:"adminUser" yaml:"adminUser"`
	AdminPassword string `mapstructure:"adminPassword" yaml:"adminPassword"`
}

Jump to

Keyboard shortcuts

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