mock

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: 3 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 {
	mock.Mock
}

func (*Repository) FindAll

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

func (*Repository) FindAllByFields

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

func (*Repository) FindByID

func (repository *Repository) FindByID(eventID [16]byte) (result *entity.Event, err error)

func (*Repository) Insert

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

func (*Repository) Update

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

Jump to

Keyboard shortcuts

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