interactorinterface

package
v0.0.0-...-5f07eeb Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseRepository

type DatabaseRepository interface {
	//Transaction Operations
	OpenTransaction() (*gorm.DB, error)
	CommitTransaction(transaction *gorm.DB) error
	RollBackTransaction(transaction *gorm.DB) error

	//App Info
	GetApp(appName string) (model.Apps, error)
	CreateApp(app *model.Apps, ctx context.Context) error

	//Fabric
	BulkInsertFabrics() error
}

DatabaseRepository database repository

Jump to

Keyboard shortcuts

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