msgqueuemocks

package
v0.0.0-...-906b757 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublishResult

type PublishResult struct {
	mock.Mock
}

PublishResult is an autogenerated mock type for the PublishResult type

func (*PublishResult) GetMessageID

func (_m *PublishResult) GetMessageID(ctx context.Context) (string, error)

GetMessageID provides a mock function with given fields: ctx

type Publisher

type Publisher struct {
	mock.Mock
}

Publisher is an autogenerated mock type for the Publisher type

func (*Publisher) Close

func (_m *Publisher) Close() error

Close provides a mock function with given fields:

func (*Publisher) Publish

func (_m *Publisher) Publish(ctx context.Context, data []byte, attributes map[string]string) (msgqueue.PublishResult, error)

Publish provides a mock function with given fields: ctx, data, attributes

func (*Publisher) TopicID

func (_m *Publisher) TopicID() string

TopicID provides a mock function with given fields:

Jump to

Keyboard shortcuts

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