mock

package
v0.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentMock

type AgentMock struct {
	mock.Mock
}

func (*AgentMock) Close

func (a *AgentMock) Close() error

func (*AgentMock) Publish

func (a *AgentMock) Publish(ctx context.Context, topic string, msg interface{}) error

func (*AgentMock) Subscribe

func (a *AgentMock) Subscribe(ctx context.Context, topic string) (<-chan interface{}, error)

Jump to

Keyboard shortcuts

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