repository

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeNamePostgres string = "postgres"
)

Variables

This section is empty.

Functions

func AddSourceSystem

func AddSourceSystem(sourceSystem *model.SourceSystem) error

func Connect

func Connect() error

func Create

func Create() error

func GetSourceSystems

func GetSourceSystems() ([]model.SourceSystem, error)

Types

type Repository

type Repository interface {
	Connect()
	Disconnect() error
	SetupSchema() error
	GetSourceSystems() ([]model.SourceSystem, error)
	AddSourceSystem(sourceSystem *model.SourceSystem) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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