mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	mock.Mock
}

func (*Consumer) Consume

func (_m *Consumer) Consume(req http.Request, cb messaging.Callback) (int, error)

func (*Consumer) Pull

func (_m *Consumer) Pull(ctx context.Context, cb messaging.Callback) error

type Publisher

type Publisher struct {
	mock.Mock
}

func (*Publisher) Publish

func (_m *Publisher) Publish(ctx context.Context, data ...[]byte) error

Jump to

Keyboard shortcuts

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