mysql

package
v0.0.0-...-87346ed Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAreaEventRepositoryMysql

func NewAreaEventRepositoryMysql(db *sql.DB) repository.AreaEventRepository

func NewAreaReadRepositoryMysql

func NewAreaReadRepositoryMysql(db *sql.DB) repository.AreaReadRepository

func NewFarmEventRepositoryMysql

func NewFarmEventRepositoryMysql(db *sql.DB) repository.FarmEventRepository

func NewFarmReadRepositoryMysql

func NewFarmReadRepositoryMysql(db *sql.DB) repository.FarmReadRepository

func NewMaterialEventRepositoryMysql

func NewMaterialEventRepositoryMysql(db *sql.DB) repository.MaterialEventRepository

func NewMaterialReadRepositoryMysql

func NewMaterialReadRepositoryMysql(db *sql.DB) repository.MaterialReadRepository

func NewReservoirEventRepositoryMysql

func NewReservoirEventRepositoryMysql(db *sql.DB) repository.ReservoirEventRepository

func NewReservoirReadRepositoryMysql

func NewReservoirReadRepositoryMysql(db *sql.DB) repository.ReservoirReadRepository

Types

type AreaEventRepositoryMysql

type AreaEventRepositoryMysql struct {
	DB *sql.DB
}

func (*AreaEventRepositoryMysql) Save

func (f *AreaEventRepositoryMysql) Save(uid uuid.UUID, latestVersion int, events []interface{}) <-chan error

type AreaReadRepositoryMysql

type AreaReadRepositoryMysql struct {
	DB *sql.DB
}

func (*AreaReadRepositoryMysql) Save

func (f *AreaReadRepositoryMysql) Save(areaRead *storage.AreaRead) <-chan error

type FarmEventRepositoryMysql

type FarmEventRepositoryMysql struct {
	DB *sql.DB
}

func (*FarmEventRepositoryMysql) Save

func (f *FarmEventRepositoryMysql) Save(uid uuid.UUID, latestVersion int, events []interface{}) <-chan error

type FarmReadRepositoryMysql

type FarmReadRepositoryMysql struct {
	DB *sql.DB
}

func (*FarmReadRepositoryMysql) Save

func (f *FarmReadRepositoryMysql) Save(farmRead *storage.FarmRead) <-chan error

type MaterialEventRepositoryMysql

type MaterialEventRepositoryMysql struct {
	DB *sql.DB
}

func (*MaterialEventRepositoryMysql) Save

func (f *MaterialEventRepositoryMysql) Save(uid uuid.UUID, latestVersion int, events []interface{}) <-chan error

type MaterialReadRepositoryMysql

type MaterialReadRepositoryMysql struct {
	DB *sql.DB
}

func (*MaterialReadRepositoryMysql) Save

func (f *MaterialReadRepositoryMysql) Save(materialRead *storage.MaterialRead) <-chan error

type ReservoirEventRepositoryMysql

type ReservoirEventRepositoryMysql struct {
	DB *sql.DB
}

func (*ReservoirEventRepositoryMysql) Save

func (f *ReservoirEventRepositoryMysql) Save(uid uuid.UUID, latestVersion int, events []interface{}) <-chan error

type ReservoirReadRepositoryMysql

type ReservoirReadRepositoryMysql struct {
	DB *sql.DB
}

func (*ReservoirReadRepositoryMysql) Save

func (f *ReservoirReadRepositoryMysql) Save(reservoirRead *storage.ReservoirRead) <-chan error

Jump to

Keyboard shortcuts

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