Documentation
¶
Overview ¶
Package mock_server is a generated GoMock package.
Package mock_server is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCloser ¶
type MockCloser struct {
// contains filtered or unexported fields
}
MockCloser is a mock of Closer interface.
func NewMockCloser ¶
func NewMockCloser(ctrl *gomock.Controller) *MockCloser
NewMockCloser creates a new mock instance.
func (*MockCloser) EXPECT ¶
func (m *MockCloser) EXPECT() *MockCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCloserMockRecorder ¶
type MockCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockCloserMockRecorder is the mock recorder for MockCloser.
func (*MockCloserMockRecorder) Close ¶
func (mr *MockCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockServer ¶
type MockServer struct {
// contains filtered or unexported fields
}
MockServer is a mock of Server interface.
func NewMockServer ¶
func NewMockServer(ctrl *gomock.Controller) *MockServer
NewMockServer creates a new mock instance.
func (*MockServer) EXPECT ¶
func (m *MockServer) EXPECT() *MockServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServer) GracefulStop ¶
func (m *MockServer) GracefulStop()
GracefulStop mocks base method.
type MockServerMockRecorder ¶
type MockServerMockRecorder struct {
// contains filtered or unexported fields
}
MockServerMockRecorder is the mock recorder for MockServer.
func (*MockServerMockRecorder) GracefulStop ¶
func (mr *MockServerMockRecorder) GracefulStop() *gomock.Call
GracefulStop indicates an expected call of GracefulStop.
func (*MockServerMockRecorder) Name ¶
func (mr *MockServerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockServerMockRecorder) Port ¶
func (mr *MockServerMockRecorder) Port() *gomock.Call
Port indicates an expected call of Port.
func (*MockServerMockRecorder) Serve ¶
func (mr *MockServerMockRecorder) Serve() *gomock.Call
Serve indicates an expected call of Serve.