storage

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: AGPL-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 IMakerStorageRepository

type IMakerStorageRepository interface {
	GetDaiKeys() ([]string, error)
	GetMaxFlip() (*big.Int, error)
	GetGemKeys() ([]Urn, error)
	GetIlks() ([]string, error)
	GetSinKeys() ([]string, error)
	GetUrns() ([]Urn, error)
	SetDB(db *postgres.DB)
}

type MakerStorageRepository

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

func (*MakerStorageRepository) GetDaiKeys

func (repository *MakerStorageRepository) GetDaiKeys() ([]string, error)

func (*MakerStorageRepository) GetGemKeys

func (repository *MakerStorageRepository) GetGemKeys() ([]Urn, error)

func (MakerStorageRepository) GetIlks

func (repository MakerStorageRepository) GetIlks() ([]string, error)

func (*MakerStorageRepository) GetMaxFlip

func (repository *MakerStorageRepository) GetMaxFlip() (*big.Int, error)

func (*MakerStorageRepository) GetSinKeys

func (repository *MakerStorageRepository) GetSinKeys() ([]string, error)

func (*MakerStorageRepository) GetUrns

func (repository *MakerStorageRepository) GetUrns() ([]Urn, error)

func (*MakerStorageRepository) SetDB

func (repository *MakerStorageRepository) SetDB(db *postgres.DB)

type Urn

type Urn struct {
	Ilk string
	Guy string
}

Directories

Path Synopsis
cat
pit
vat
vow

Jump to

Keyboard shortcuts

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