mock_render

package
v0.1.140 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_render is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRender

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

MockRender is a mock of Render interface

func NewMockRender

func NewMockRender(ctrl *gomock.Controller) *MockRender

NewMockRender creates a new mock instance

func (*MockRender) Content

func (m *MockRender) Content() []byte

Content mocks base method

func (*MockRender) ContentType

func (m *MockRender) ContentType() string

ContentType mocks base method

func (*MockRender) EXPECT

func (m *MockRender) EXPECT() *MockRenderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRender) HttpCode

func (m *MockRender) HttpCode() int

HttpCode mocks base method

func (*MockRender) SetHttpCode

func (m *MockRender) SetHttpCode(code int)

SetHttpCode mocks base method

type MockRenderMockRecorder

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

MockRenderMockRecorder is the mock recorder for MockRender

func (*MockRenderMockRecorder) Content

func (mr *MockRenderMockRecorder) Content() *gomock.Call

Content indicates an expected call of Content

func (*MockRenderMockRecorder) ContentType

func (mr *MockRenderMockRecorder) ContentType() *gomock.Call

ContentType indicates an expected call of ContentType

func (*MockRenderMockRecorder) HttpCode

func (mr *MockRenderMockRecorder) HttpCode() *gomock.Call

HttpCode indicates an expected call of HttpCode

func (*MockRenderMockRecorder) SetHttpCode

func (mr *MockRenderMockRecorder) SetHttpCode(code interface{}) *gomock.Call

SetHttpCode indicates an expected call of SetHttpCode

Jump to

Keyboard shortcuts

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