Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: server.go
Generated by this command:
mockgen -source=server.go -destination=mock_server.go -package=httpserver
Package httpserver is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
func NewHttpServer ¶
func NewHttpServer(port string) HttpServer
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.
type MockHttpServerMockRecorder ¶
type MockHttpServerMockRecorder struct {
// contains filtered or unexported fields
}
MockHttpServerMockRecorder is the mock recorder for MockHttpServer.
func (*MockHttpServerMockRecorder) Run ¶
func (mr *MockHttpServerMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
Click to show internal directories.
Click to hide internal directories.