Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct {
// contains filtered or unexported fields
}
Body is a mock of ReadCloser interface.
func (*Body) EXPECT ¶
func (m *Body) EXPECT() *BodyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type BodyMockRecorder ¶
type BodyMockRecorder struct {
// contains filtered or unexported fields
}
BodyMockRecorder is the mock recorder for Body.
func (*BodyMockRecorder) Close ¶
func (mr *BodyMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*BodyMockRecorder) Read ¶
func (mr *BodyMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a mock of Handler interface.
func NewHandler ¶
func NewHandler(ctrl *gomock.Controller) *Handler
NewHandler creates a new mock instance.
func (*Handler) EXPECT ¶
func (m *Handler) EXPECT() *HandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type HandlerMockRecorder ¶
type HandlerMockRecorder struct {
// contains filtered or unexported fields
}
HandlerMockRecorder is the mock recorder for Handler.
func (*HandlerMockRecorder) ServeHTTP ¶
func (mr *HandlerMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
ServeHTTP indicates an expected call of ServeHTTP.
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport is a mock of RoundTripper interface.
func NewTransport ¶
func NewTransport(ctrl *gomock.Controller) *Transport
NewTransport creates a new mock instance.
func (*Transport) EXPECT ¶
func (m *Transport) EXPECT() *TransportMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type TransportMockRecorder ¶
type TransportMockRecorder struct {
// contains filtered or unexported fields
}
TransportMockRecorder is the mock recorder for Transport.
func (*TransportMockRecorder) RoundTrip ¶
func (mr *TransportMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call
RoundTrip indicates an expected call of RoundTrip.