spot

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IlkPip = "pip"
	IlkMat = "mat"
	Vat    = "vat"
	Par    = "par"
	Live   = "live"
)
View Source
const (
	InsertSpotIlkPipQuery = `INSERT INTO maker.spot_ilk_pip (diff_id, header_id, ilk_id, pip) VALUES ($1, $2, $3, $4) ON CONFLICT DO NOTHING`
	InsertSpotIlkMatQuery = `INSERT INTO maker.spot_ilk_mat (diff_id, header_id, ilk_id, mat) VALUES ($1, $2, $3, $4) ON CONFLICT DO NOTHING`
)

Variables

Functions

func NewKeysLoader added in v0.2.15

func NewKeysLoader(storageRepository mcdStorage.IMakerStorageRepository) storage.KeysLoader

Types

type SpotStorageRepository

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

func (SpotStorageRepository) Create

func (repository SpotStorageRepository) Create(diffID, headerID int64, metadata storage.ValueMetadata, value interface{}) error

func (*SpotStorageRepository) SetDB

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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