metadata

package
v4.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServerForge

type MockServerForge struct {
	mock.Mock
}

MockServerForge is an autogenerated mock type for the ServerForge type

func NewMockServerForge

func NewMockServerForge(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockServerForge

NewMockServerForge creates a new instance of MockServerForge. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockServerForge) EXPECT

func (*MockServerForge) Name

func (_mock *MockServerForge) Name() string

Name provides a mock function for the type MockServerForge

func (*MockServerForge) URL

func (_mock *MockServerForge) URL() string

URL provides a mock function for the type MockServerForge

type MockServerForge_Expecter

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

func (*MockServerForge_Expecter) Name

Name is a helper method to define mock.On call

func (*MockServerForge_Expecter) URL

URL is a helper method to define mock.On call

type MockServerForge_Name_Call

type MockServerForge_Name_Call struct {
	*mock.Call
}

MockServerForge_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'

func (*MockServerForge_Name_Call) Return

func (*MockServerForge_Name_Call) Run

func (*MockServerForge_Name_Call) RunAndReturn

func (_c *MockServerForge_Name_Call) RunAndReturn(run func() string) *MockServerForge_Name_Call

type MockServerForge_URL_Call

type MockServerForge_URL_Call struct {
	*mock.Call
}

MockServerForge_URL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'URL'

func (*MockServerForge_URL_Call) Return

func (*MockServerForge_URL_Call) Run

func (*MockServerForge_URL_Call) RunAndReturn

func (_c *MockServerForge_URL_Call) RunAndReturn(run func() string) *MockServerForge_URL_Call

Jump to

Keyboard shortcuts

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