mssql

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MssqlConfigs

type MssqlConfigs struct {
	URL                  string `json:"URL" yaml:"URL"`
	Port                 string `json:"Port" yarml:"Port"`
	UserName             string `json:"userName" yaml:"userName"`
	Password             string `json:"password" yaml:"password"`
	DBName               string `json:"dbName" yaml:"DBName"`
	MongoIsReplicated    bool   `json:"isReplicated"`
	MongoReplicatedName  string `json:"replicatedName"`
	FullConnectionString string `json:"fullConnectionString"`
}

func (*MssqlConfigs) String

func (c *MssqlConfigs) String() string

type MssqlDriver

type MssqlDriver struct {
	Configs *MssqlConfigs
}

func (*MssqlDriver) Connect

func (d *MssqlDriver) Connect() (*gorm.DB, *mongo.Client, error)

Jump to

Keyboard shortcuts

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