mocks

package
v2.1.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockKeepAlive) Keep

func (m *MockKeepAlive) Keep()

Keep mocks base method.

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

Keep indicates an expected call of Keep.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL