postgres

package
v0.0.0-...-bb34c9a Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	DbSchema   string
	DbName     string
	DbUser     string
	DbPassword string
	Connection *pg.DB
}

func Build

func Build() *Repository

func (*Repository) AddSourceSystem

func (pr *Repository) AddSourceSystem(sourceSystem *model.SourceSystem) error

func (*Repository) Connect

func (pr *Repository) Connect()

func (*Repository) Disconnect

func (pr *Repository) Disconnect() error

func (*Repository) GetSourceSystems

func (pr *Repository) GetSourceSystems() ([]model.SourceSystem, error)

func (*Repository) SetupSchema

func (pr *Repository) SetupSchema() error

Jump to

Keyboard shortcuts

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