Documentation
¶
Index ¶
- type EngineMock
- func (e *EngineMock) Delete(path string, h echo.Handler)
- func (e *EngineMock) Get(path string, h echo.Handler)
- func (e *EngineMock) IsRunning() bool
- func (e *EngineMock) MiddleWares() []string
- func (e *EngineMock) Port() string
- func (e *EngineMock) Post(path string, h echo.Handler)
- func (e *EngineMock) Put(path string, h echo.Handler)
- func (e *EngineMock) Run(addr string)
- func (e *EngineMock) String() string
- func (e *EngineMock) Use(m ...echo.Middleware)
- type ResourceMock
- func (r *ResourceMock) BindedWith(f interface{}) (binded bool)
- func (r *ResourceMock) Created() bool
- func (r *ResourceMock) Find(id string) (i.Viewer, error)
- func (r *ResourceMock) Finded() bool
- func (r *ResourceMock) FindedBy() string
- func (r *ResourceMock) Form() interface{}
- func (r *ResourceMock) Save() (e error)
- func (r *ResourceMock) String() string
- func (r *ResourceMock) Url() string
- func (r *ResourceMock) View() interface{}
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) IsRunning ¶
func (e *EngineMock) IsRunning() bool
func (*EngineMock) MiddleWares ¶
func (e *EngineMock) MiddleWares() []string
func (*EngineMock) Port ¶
func (e *EngineMock) Port() string
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) 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{}
Click to show internal directories.
Click to hide internal directories.