db

package
v0.0.0-...-a12d374 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func New

func New(settings Settings) (*Manager, error)

func (*Manager) GetDataRepository

func (manager *Manager) GetDataRepository(projectID string) (persistence.Repository, error)

func (*Manager) GetHistoryRepository

func (manager *Manager) GetHistoryRepository(projectID string) (history.Repository, error)

func (*Manager) GetProjectsRepository

func (manager *Manager) GetProjectsRepository() (projects.Repository, error)

func (*Manager) GetScriptsRepository

func (manager *Manager) GetScriptsRepository(projectID string) (scripts.Repository, error)

type Settings

type Settings struct {
	Endpoints []string
}

func NewDefaultSettings

func NewDefaultSettings() Settings

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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