memory

package
v0.0.0-...-0bc60f7 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(nested event.RepositoryInterface) (result *Repository, err error)

func (*Repository) FindAll

func (repository *Repository) FindAll(limit int64, offset int64) ([]*entity.Event, error)

func (*Repository) FindAllByFields

func (repository *Repository) FindAllByFields(data types.Hash) (result []*entity.Event, err error)

func (*Repository) FindByID

func (repository *Repository) FindByID(eventID types.UUID) (result *entity.Event, err error)

func (*Repository) Insert

func (repository *Repository) Insert(event *entity.Event) (err error)

func (*Repository) Refresh

func (repository *Repository) Refresh() error

func (*Repository) Update

func (repository *Repository) Update(event *entity.Event) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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