mock_http

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_http is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHttpServer

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

MockHttpServer is a mock of HttpServer interface.

func NewMockHttpServer

func NewMockHttpServer(ctrl *gomock.Controller) *MockHttpServer

NewMockHttpServer creates a new mock instance.

func (*MockHttpServer) EXPECT

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

func (*MockHttpServer) GetGraphQLHandler

func (m *MockHttpServer) GetGraphQLHandler() http.Handler

GetGraphQLHandler mocks base method.

func (*MockHttpServer) GetHandler

func (m *MockHttpServer) GetHandler() http.Handler

GetHandler mocks base method.

func (*MockHttpServer) ListenAndServe

func (m *MockHttpServer) ListenAndServe() error

ListenAndServe mocks base method.

type MockHttpServerMockRecorder

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

MockHttpServerMockRecorder is the mock recorder for MockHttpServer.

func (*MockHttpServerMockRecorder) GetGraphQLHandler

func (mr *MockHttpServerMockRecorder) GetGraphQLHandler() *gomock.Call

GetGraphQLHandler indicates an expected call of GetGraphQLHandler.

func (*MockHttpServerMockRecorder) GetHandler

func (mr *MockHttpServerMockRecorder) GetHandler() *gomock.Call

GetHandler indicates an expected call of GetHandler.

func (*MockHttpServerMockRecorder) ListenAndServe

func (mr *MockHttpServerMockRecorder) ListenAndServe() *gomock.Call

ListenAndServe indicates an expected call of ListenAndServe.

Jump to

Keyboard shortcuts

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