Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: keepalive.go
Generated by this command:
mockgen -destination mocks/keepalive_mock.go -source keepalive.go -package mocks
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeepAlive ¶
type MockKeepAlive struct {
// contains filtered or unexported fields
}
MockKeepAlive is a mock of KeepAlive interface.
func NewMockKeepAlive ¶
func NewMockKeepAlive(ctrl *gomock.Controller) *MockKeepAlive
NewMockKeepAlive creates a new mock instance.
func (*MockKeepAlive) Alive ¶
func (m *MockKeepAlive) Alive(alive time.Duration) bool
Alive mocks base method.
func (*MockKeepAlive) EXPECT ¶
func (m *MockKeepAlive) EXPECT() *MockKeepAliveMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKeepAliveMockRecorder ¶
type MockKeepAliveMockRecorder struct {
// contains filtered or unexported fields
}
MockKeepAliveMockRecorder is the mock recorder for MockKeepAlive.
func (*MockKeepAliveMockRecorder) Alive ¶
func (mr *MockKeepAliveMockRecorder) Alive(alive any) *gomock.Call
Alive indicates an expected call of Alive.
func (*MockKeepAliveMockRecorder) Keep ¶
func (mr *MockKeepAliveMockRecorder) Keep() *gomock.Call
Keep indicates an expected call of Keep.
Click to show internal directories.
Click to hide internal directories.