mocks

package
v0.0.0-...-c2443e1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EngineMock

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

func (*EngineMock) Delete

func (e *EngineMock) Delete(path string, h echo.Handler)

func (*EngineMock) Get

func (e *EngineMock) Get(path string, h echo.Handler)

func (*EngineMock) IsRunning

func (e *EngineMock) IsRunning() bool

func (*EngineMock) MiddleWares

func (e *EngineMock) MiddleWares() []string

func (*EngineMock) Port

func (e *EngineMock) Port() string

func (*EngineMock) Post

func (e *EngineMock) Post(path string, h echo.Handler)

func (*EngineMock) Put

func (e *EngineMock) Put(path string, h echo.Handler)

func (*EngineMock) Run

func (e *EngineMock) Run(addr string)

func (*EngineMock) String

func (e *EngineMock) String() string

func (*EngineMock) Use

func (e *EngineMock) Use(m ...echo.Middleware)

type ResourceMock

type ResourceMock struct {
	F        interface{}
	V        interface{}
	Invalid  bool
	NotFound bool
	// contains filtered or unexported fields
}

func (*ResourceMock) BindedWith

func (r *ResourceMock) BindedWith(f interface{}) (binded bool)

func (*ResourceMock) Created

func (r *ResourceMock) Created() bool

func (*ResourceMock) Find

func (r *ResourceMock) Find(id string) (i.Viewer, error)

func (*ResourceMock) Finded

func (r *ResourceMock) Finded() bool

func (*ResourceMock) FindedBy

func (r *ResourceMock) FindedBy() string

func (*ResourceMock) Form

func (r *ResourceMock) Form() interface{}

func (*ResourceMock) Save

func (r *ResourceMock) Save() (e error)

func (*ResourceMock) String

func (r *ResourceMock) String() string

func (*ResourceMock) Url

func (r *ResourceMock) Url() string

func (*ResourceMock) View

func (r *ResourceMock) View() interface{}

Jump to

Keyboard shortcuts

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