handlers

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package handlers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publisher

func Publisher(c *gofr.Context) (interface{}, error)

func Subscriber

func Subscriber(c *gofr.Context) (interface{}, error)

Types

type MockNotifier

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

MockNotifier is a mock of Notifier interface.

func NewMockNotifier

func NewMockNotifier(ctrl *gomock.Controller) *MockNotifier

NewMockNotifier creates a new mock instance.

func (*MockNotifier) Bind

func (m *MockNotifier) Bind(message []byte, target interface{}) error

Bind mocks base method.

func (*MockNotifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNotifier) HealthCheck

func (m *MockNotifier) HealthCheck() types.Health

HealthCheck mocks base method.

func (*MockNotifier) IsSet

func (m *MockNotifier) IsSet() bool

IsSet mocks base method.

func (*MockNotifier) Publish

func (m *MockNotifier) Publish(value interface{}, attributes map[string]interface{}) error

Publish mocks base method.

func (*MockNotifier) Subscribe

func (m *MockNotifier) Subscribe() (*notifier.Message, error)

Subscribe mocks base method.

func (*MockNotifier) SubscribeWithResponse

func (m *MockNotifier) SubscribeWithResponse(target interface{}) (*notifier.Message, error)

SubscribeWithResponse mocks base method.

type MockNotifierMockRecorder

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

MockNotifierMockRecorder is the mock recorder for MockNotifier.

func (*MockNotifierMockRecorder) Bind

func (mr *MockNotifierMockRecorder) Bind(message, target interface{}) *gomock.Call

Bind indicates an expected call of Bind.

func (*MockNotifierMockRecorder) HealthCheck

func (mr *MockNotifierMockRecorder) HealthCheck() *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockNotifierMockRecorder) IsSet

func (mr *MockNotifierMockRecorder) IsSet() *gomock.Call

IsSet indicates an expected call of IsSet.

func (*MockNotifierMockRecorder) Publish

func (mr *MockNotifierMockRecorder) Publish(value, attributes interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockNotifierMockRecorder) Subscribe

func (mr *MockNotifierMockRecorder) Subscribe() *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockNotifierMockRecorder) SubscribeWithResponse

func (mr *MockNotifierMockRecorder) SubscribeWithResponse(target interface{}) *gomock.Call

SubscribeWithResponse indicates an expected call of SubscribeWithResponse.

Jump to

Keyboard shortcuts

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