mocks

package
v2.1.17 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 MockAnnouncer

type MockAnnouncer struct {
	// contains filtered or unexported fields
}

MockAnnouncer is a mock of Announcer interface.

func NewMockAnnouncer

func NewMockAnnouncer(ctrl *gomock.Controller) *MockAnnouncer

NewMockAnnouncer creates a new mock instance.

func (*MockAnnouncer) EXPECT

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

func (*MockAnnouncer) Serve

func (m *MockAnnouncer) Serve() error

Serve mocks base method.

func (*MockAnnouncer) Stop

func (m *MockAnnouncer) Stop() error

Stop mocks base method.

type MockAnnouncerMockRecorder

type MockAnnouncerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAnnouncerMockRecorder is the mock recorder for MockAnnouncer.

func (*MockAnnouncerMockRecorder) Serve

func (mr *MockAnnouncerMockRecorder) Serve() *gomock.Call

Serve indicates an expected call of Serve.

func (*MockAnnouncerMockRecorder) Stop

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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