mock

package
v0.0.0-...-2ba808a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPusherClient

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

MockPusherClient is a mock of PusherClient interface.

func NewMockPusherClient

func NewMockPusherClient(ctrl *gomock.Controller) *MockPusherClient

NewMockPusherClient creates a new mock instance.

func (*MockPusherClient) AuthorizePrivateChannel

func (m *MockPusherClient) AuthorizePrivateChannel(params []byte) ([]byte, error)

AuthorizePrivateChannel mocks base method.

func (*MockPusherClient) EXPECT

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

func (*MockPusherClient) Trigger

func (m *MockPusherClient) Trigger(channelID, event string, data map[string]interface{}) error

Trigger mocks base method.

func (*MockPusherClient) TriggerMultiChannels

func (m *MockPusherClient) TriggerMultiChannels(channelIDs []string, event string, data map[string]interface{}) error

TriggerMultiChannels mocks base method.

type MockPusherClientMockRecorder

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

MockPusherClientMockRecorder is the mock recorder for MockPusherClient.

func (*MockPusherClientMockRecorder) AuthorizePrivateChannel

func (mr *MockPusherClientMockRecorder) AuthorizePrivateChannel(params interface{}) *gomock.Call

AuthorizePrivateChannel indicates an expected call of AuthorizePrivateChannel.

func (*MockPusherClientMockRecorder) Trigger

func (mr *MockPusherClientMockRecorder) Trigger(channelID, event, data interface{}) *gomock.Call

Trigger indicates an expected call of Trigger.

func (*MockPusherClientMockRecorder) TriggerMultiChannels

func (mr *MockPusherClientMockRecorder) TriggerMultiChannels(channelIDs, event, data interface{}) *gomock.Call

TriggerMultiChannels indicates an expected call of TriggerMultiChannels.

Jump to

Keyboard shortcuts

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