mocks

package
v0.0.0-...-6dea0d5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storager

type Storager struct {
	mock.Mock
}

Storager is an autogenerated mock type for the Storager type

func (*Storager) CreateHero

func (_m *Storager) CreateHero(id string, name string) error

CreateHero provides a mock function with given fields: id, name

func (*Storager) DeleteHero

func (_m *Storager) DeleteHero(id string) error

DeleteHero provides a mock function with given fields: id

func (*Storager) GetHero

func (_m *Storager) GetHero(name string) (storage.Hero, error)

GetHero provides a mock function with given fields: name

func (*Storager) GetHeroes

func (_m *Storager) GetHeroes() ([]storage.Hero, error)

GetHeroes provides a mock function with given fields:

func (*Storager) Status

func (_m *Storager) Status() (string, error)

Status provides a mock function with given fields:

Jump to

Keyboard shortcuts

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