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 ¶
func (m *MockHttpServer) EXPECT() *MockHttpServerMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.