repository

package
v0.0.0-...-a6d1704 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package repository provides ...

Package repository provides ...

Package repository provides ...

Package repository provides ...

Package repository provides ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticsearchFakerRepository

type ElasticsearchFakerRepository struct {
	Client *elasticsearch.Client
}

ElasticsearchFakerRepository :

func (*ElasticsearchFakerRepository) Ping

func (mfr *ElasticsearchFakerRepository) Ping() error

Ping : ping to database

type FakerRepository

type FakerRepository interface {
	Ping() error
}

FakerRepository : Hidden Database system.

func NewElasticsearchFakerRepository

func NewElasticsearchFakerRepository(cfg *config.Config) FakerRepository

NewElasticsearchFakerRepository :

func NewMSSQLFakerRepository

func NewMSSQLFakerRepository(cfg *config.Config) FakerRepository

NewMSSQLFakerRepository :

func NewMongoFakerRepository

func NewMongoFakerRepository(cfg *config.Config) FakerRepository

NewMongoFakerRepository :

func NewMySQLFakerRepository

func NewMySQLFakerRepository(cfg *config.Config) FakerRepository

NewMySQLFakerRepository :

func NewPostgreSQLFakerRepository

func NewPostgreSQLFakerRepository(cfg *config.Config) FakerRepository

NewPostgreSQLFakerRepository :

type MSSQLFakerRepository

type MSSQLFakerRepository struct {
	DB *sqlx.DB
}

MSSQLFakerRepository :

func (*MSSQLFakerRepository) Ping

func (mfr *MSSQLFakerRepository) Ping() error

Ping : ping to database

type MongoFakerRepository

type MongoFakerRepository struct {
	Client *mongo.Client
}

MongoFakerRepository :

func (*MongoFakerRepository) Ping

func (mfr *MongoFakerRepository) Ping() error

Ping : ping to database

type MySQLFakerRepository

type MySQLFakerRepository struct {
	DB *sqlx.DB
}

MySQLFakerRepository :

func (*MySQLFakerRepository) Ping

func (mfr *MySQLFakerRepository) Ping() error

Ping : ping to database

type PostgreSQLFakerRepository

type PostgreSQLFakerRepository struct {
	DB *sqlx.DB
}

PostgreSQLFakerRepository :

func (*PostgreSQLFakerRepository) Ping

func (mfr *PostgreSQLFakerRepository) Ping() error

Ping : ping to database

Jump to

Keyboard shortcuts

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