Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbConfig ¶
type DbConfig struct { DbType string Host string Username string Password string DbName string Filename string Location string Port uint32 PoolSize uint Url string SecureOption DbSecureType Options DbConnectOptions }
func (DbConfig) ClosePgxDb ¶ added in v0.2.0
func (dbConfig DbConfig) ClosePgxDb()
func (DbConfig) ClosePgxDbPool ¶ added in v0.2.0
func (dbConfig DbConfig) ClosePgxDbPool()
func (DbConfig) OpenPgxDbPool ¶ added in v0.2.0
type DbConfigType ¶
type DbConnectOptions ¶
type DbConnectOptions map[string]interface{}
type DbConnectionType ¶
type DbSecureType ¶
type MongoDbConfig ¶ added in v0.1.1
type MongoDbConfig struct { DbType string Host string Username string Password string DbName string Filename string Location string Port uint32 PoolSize uint Url string Options MongoDbConnectOptions }
func (MongoDbConfig) CloseMongoDb ¶ added in v0.1.1
func (dbConfig MongoDbConfig) CloseMongoDb()
func (MongoDbConfig) OpenMongoDb ¶ added in v0.1.1
func (dbConfig MongoDbConfig) OpenMongoDb() (*mongo.Client, error)
type MongoDbConfigType ¶ added in v0.1.1
type MongoDbConnectOptions ¶ added in v0.1.1
type MongoDbConnectOptions map[string]interface{}
type MongoDbConnectionType ¶ added in v0.1.1
type MongoDbSecureType ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.