Versions in this module Expand all Collapse all v0 v0.0.1 Jul 25, 2023 Changes in this version + type MockHTTPClient struct + func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient + func (m *MockHTTPClient) CloseIdleConnections() + func (m *MockHTTPClient) Do(req *http.Request) (*http.Response, error) + func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder + func (m *MockHTTPClient) Get(url string) (*http.Response, error) + func (m *MockHTTPClient) Head(url string) (*http.Response, error) + func (m *MockHTTPClient) Post(url, contentType string, body io.Reader) (*http.Response, error) + func (m *MockHTTPClient) PostForm(url string, data url.Values) (*http.Response, error) + type MockHTTPClientMockRecorder struct + func (mr *MockHTTPClientMockRecorder) CloseIdleConnections() *gomock.Call + func (mr *MockHTTPClientMockRecorder) Do(req interface{}) *gomock.Call + func (mr *MockHTTPClientMockRecorder) Get(url interface{}) *gomock.Call + func (mr *MockHTTPClientMockRecorder) Head(url interface{}) *gomock.Call + func (mr *MockHTTPClientMockRecorder) Post(url, contentType, body interface{}) *gomock.Call + func (mr *MockHTTPClientMockRecorder) PostForm(url, data interface{}) *gomock.Call + type MockHTTPHandler struct + func NewMockHTTPHandler(ctrl *gomock.Controller) *MockHTTPHandler + func (m *MockHTTPHandler) EXPECT() *MockHTTPHandlerMockRecorder + func (m *MockHTTPHandler) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request) + type MockHTTPHandlerMockRecorder struct + func (mr *MockHTTPHandlerMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call + type MockHTTPServer struct + func NewMockHTTPServer(ctrl *gomock.Controller) *MockHTTPServer + func (m *MockHTTPServer) Close() error + func (m *MockHTTPServer) EXPECT() *MockHTTPServerMockRecorder + func (m *MockHTTPServer) ListenAndServe() error + func (m *MockHTTPServer) ListenAndServeTLS(certFile, keyFile string) error + func (m *MockHTTPServer) RegisterOnShutdown(f func()) + func (m *MockHTTPServer) Serve(l net.Listener) error + func (m *MockHTTPServer) ServeTLS(l net.Listener, certFile, keyFile string) error + func (m *MockHTTPServer) SetKeepAlivesEnabled(v bool) + func (m *MockHTTPServer) Shutdown(ctx context.Context) error + type MockHTTPServerMockRecorder struct + func (mr *MockHTTPServerMockRecorder) Close() *gomock.Call + func (mr *MockHTTPServerMockRecorder) ListenAndServe() *gomock.Call + func (mr *MockHTTPServerMockRecorder) ListenAndServeTLS(certFile, keyFile interface{}) *gomock.Call + func (mr *MockHTTPServerMockRecorder) RegisterOnShutdown(f interface{}) *gomock.Call + func (mr *MockHTTPServerMockRecorder) Serve(l interface{}) *gomock.Call + func (mr *MockHTTPServerMockRecorder) ServeTLS(l, certFile, keyFile interface{}) *gomock.Call + func (mr *MockHTTPServerMockRecorder) SetKeepAlivesEnabled(v interface{}) *gomock.Call + func (mr *MockHTTPServerMockRecorder) Shutdown(ctx interface{}) *gomock.Call