apptracker

package
v0.0.0-...-4b7956f Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 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 AppTracker

type AppTracker interface {
	CaptureMessage(message string)    // Send a message to the app tracker
	CaptureException(exception error) // Send an exception to the app tracker
}

type MockAppTracker

type MockAppTracker struct {
	mock.Mock
}

MockAppTracker is an autogenerated mock type for the AppTracker type

func NewMockAppTracker

func NewMockAppTracker(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAppTracker

NewMockAppTracker creates a new instance of MockAppTracker. 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 (*MockAppTracker) CaptureException

func (_mock *MockAppTracker) CaptureException(exception error)

CaptureException provides a mock function for the type MockAppTracker

func (*MockAppTracker) CaptureMessage

func (_mock *MockAppTracker) CaptureMessage(message string)

CaptureMessage provides a mock function for the type MockAppTracker

func (*MockAppTracker) EXPECT

type MockAppTracker_CaptureException_Call

type MockAppTracker_CaptureException_Call struct {
	*mock.Call
}

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

func (*MockAppTracker_CaptureException_Call) Return

func (*MockAppTracker_CaptureException_Call) Run

func (*MockAppTracker_CaptureException_Call) RunAndReturn

type MockAppTracker_CaptureMessage_Call

type MockAppTracker_CaptureMessage_Call struct {
	*mock.Call
}

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

func (*MockAppTracker_CaptureMessage_Call) Return

func (*MockAppTracker_CaptureMessage_Call) Run

func (*MockAppTracker_CaptureMessage_Call) RunAndReturn

type MockAppTracker_Expecter

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

func (*MockAppTracker_Expecter) CaptureException

func (_e *MockAppTracker_Expecter) CaptureException(exception interface{}) *MockAppTracker_CaptureException_Call

CaptureException is a helper method to define mock.On call

  • exception

func (*MockAppTracker_Expecter) CaptureMessage

func (_e *MockAppTracker_Expecter) CaptureMessage(message interface{}) *MockAppTracker_CaptureMessage_Call

CaptureMessage is a helper method to define mock.On call

  • message

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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