adapter

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSqlDBMSAdapter

func NewSqlDBMSAdapter() port.DBMSAdapter

func NewSqlDBMSPostgresAdapter

func NewSqlDBMSPostgresAdapter(params *SqlDBMSPostgresAdapterParams) port.DBMSAdapter

Types

type SqlDBMSAdapter

type SqlDBMSAdapter struct{}

func (*SqlDBMSAdapter) GetDatabases

func (a *SqlDBMSAdapter) GetDatabases() (*[]types.DB, error)

type SqlDBMSPostgresAdapter

type SqlDBMSPostgresAdapter struct {
	*SqlDBMSAdapter
	// contains filtered or unexported fields
}

func (*SqlDBMSPostgresAdapter) GetDatabases

func (a *SqlDBMSPostgresAdapter) GetDatabases() (*[]types.DB, error)

type SqlDBMSPostgresAdapterParams

type SqlDBMSPostgresAdapterParams struct {
	Host     string
	Port     int
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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