mock_sample

package
Version: v0.0.0-...-5980f5d Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEmbed

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

Mock of Embed interface

func NewMockEmbed

func NewMockEmbed(ctrl *gomock.Controller) *MockEmbed

func (*MockEmbed) EXPECT

func (_m *MockEmbed) EXPECT() *_MockEmbedRecorder

func (*MockEmbed) EmbeddedMethod

func (_m *MockEmbed) EmbeddedMethod()

func (*MockEmbed) ForeignEmbeddedMethod

func (_m *MockEmbed) ForeignEmbeddedMethod() *bufio.Reader

func (*MockEmbed) ImplicitPackage

func (_m *MockEmbed) ImplicitPackage(_param0 string, _param1 imp1.ImpT, _param2 []imp1.ImpT, _param3 *imp1.ImpT, _param4 chan imp1.ImpT)

func (*MockEmbed) RegularMethod

func (_m *MockEmbed) RegularMethod()

type MockEmbedded

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

Mock of Embedded interface

func NewMockEmbedded

func NewMockEmbedded(ctrl *gomock.Controller) *MockEmbedded

func (*MockEmbedded) EXPECT

func (_m *MockEmbedded) EXPECT() *_MockEmbeddedRecorder

func (*MockEmbedded) EmbeddedMethod

func (_m *MockEmbedded) EmbeddedMethod()

type MockIndex

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

Mock of Index interface

func NewMockIndex

func NewMockIndex(ctrl *gomock.Controller) *MockIndex

func (*MockIndex) Anon

func (_m *MockIndex) Anon(_param0 string)

func (*MockIndex) Chan

func (_m *MockIndex) Chan(_param0 chan int, _param1 chan<- hash.Hash)

func (*MockIndex) ConcreteRet

func (_m *MockIndex) ConcreteRet() chan<- bool

func (*MockIndex) EXPECT

func (_m *MockIndex) EXPECT() *_MockIndexRecorder

func (*MockIndex) Ellip

func (_m *MockIndex) Ellip(_param0 string, _param1 ...interface{})

func (*MockIndex) EllipOnly

func (_m *MockIndex) EllipOnly(_param0 ...string)

func (*MockIndex) ForeignFour

func (_m *MockIndex) ForeignFour(_param0 imp4.Imp4)

func (*MockIndex) ForeignOne

func (_m *MockIndex) ForeignOne(_param0 imp1.Imp1)

func (*MockIndex) ForeignThree

func (_m *MockIndex) ForeignThree(_param0 imp3.Imp3)

func (*MockIndex) ForeignTwo

func (_m *MockIndex) ForeignTwo(_param0 imp2.Imp2)

func (*MockIndex) Func

func (_m *MockIndex) Func(_param0 func(http.Request) (int, bool))

func (*MockIndex) Get

func (_m *MockIndex) Get(_param0 string) interface{}

func (*MockIndex) GetTwo

func (_m *MockIndex) GetTwo(_param0 string, _param1 string) (interface{}, interface{})

func (*MockIndex) Map

func (_m *MockIndex) Map(_param0 map[int]hash.Hash)

func (*MockIndex) NillableRet

func (_m *MockIndex) NillableRet() error

func (*MockIndex) Other

func (_m *MockIndex) Other() hash.Hash

func (*MockIndex) Ptr

func (_m *MockIndex) Ptr(_param0 *int)

func (*MockIndex) Put

func (_m *MockIndex) Put(_param0 string, _param1 interface{})

func (*MockIndex) Slice

func (_m *MockIndex) Slice(_param0 []int, _param1 []byte) [3]int

func (*MockIndex) Struct

func (_m *MockIndex) Struct(_param0 struct{})

func (*MockIndex) StructChan

func (_m *MockIndex) StructChan(_param0 chan struct{})

func (*MockIndex) Summary

func (_m *MockIndex) Summary(_param0 *bytes.Buffer, _param1 io.Writer)

func (*MockIndex) Templates

func (_m *MockIndex) Templates(_param0 template.CSS, _param1 template0.FuncMap)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL