clientmock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package clientmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) ChannelDelete

func (m *MockClient) ChannelDelete(arg0 string) error

ChannelDelete mocks base method.

func (*MockClient) ChannelGetCategory

func (m *MockClient) ChannelGetCategory(arg0 string) (string, error)

ChannelGetCategory mocks base method.

func (*MockClient) ChannelMessageDelete

func (m *MockClient) ChannelMessageDelete(arg0, arg1 string) error

ChannelMessageDelete mocks base method.

func (*MockClient) ChannelMessageEdit

func (m *MockClient) ChannelMessageEdit(arg0, arg1, arg2 string) error

ChannelMessageEdit mocks base method.

func (*MockClient) ChannelMessageSend

func (m *MockClient) ChannelMessageSend(arg0, arg1 string) (string, error)

ChannelMessageSend mocks base method.

func (*MockClient) ChannelPermissionDelete

func (m *MockClient) ChannelPermissionDelete(arg0, arg1 string) error

ChannelPermissionDelete mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GuildChannelTextCreate

func (m *MockClient) GuildChannelTextCreate(arg0, arg1 string) (string, error)

GuildChannelTextCreate mocks base method.

func (*MockClient) MessageReactionAdd

func (m *MockClient) MessageReactionAdd(arg0, arg1, arg2 string) error

MessageReactionAdd mocks base method.

func (*MockClient) MessageReactionRemove

func (m *MockClient) MessageReactionRemove(arg0, arg1, arg2, arg3 string) error

MessageReactionRemove mocks base method.

func (*MockClient) UserChannelPermissionSet

func (m *MockClient) UserChannelPermissionSet(arg0, arg1 string, arg2, arg3 int64) error

UserChannelPermissionSet mocks base method.

func (*MockClient) UserChannelPermissions

func (m *MockClient) UserChannelPermissions(arg0, arg1 string) (int64, error)

UserChannelPermissions mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) ChannelDelete

func (mr *MockClientMockRecorder) ChannelDelete(arg0 interface{}) *gomock.Call

ChannelDelete indicates an expected call of ChannelDelete.

func (*MockClientMockRecorder) ChannelGetCategory

func (mr *MockClientMockRecorder) ChannelGetCategory(arg0 interface{}) *gomock.Call

ChannelGetCategory indicates an expected call of ChannelGetCategory.

func (*MockClientMockRecorder) ChannelMessageDelete

func (mr *MockClientMockRecorder) ChannelMessageDelete(arg0, arg1 interface{}) *gomock.Call

ChannelMessageDelete indicates an expected call of ChannelMessageDelete.

func (*MockClientMockRecorder) ChannelMessageEdit

func (mr *MockClientMockRecorder) ChannelMessageEdit(arg0, arg1, arg2 interface{}) *gomock.Call

ChannelMessageEdit indicates an expected call of ChannelMessageEdit.

func (*MockClientMockRecorder) ChannelMessageSend

func (mr *MockClientMockRecorder) ChannelMessageSend(arg0, arg1 interface{}) *gomock.Call

ChannelMessageSend indicates an expected call of ChannelMessageSend.

func (*MockClientMockRecorder) ChannelPermissionDelete

func (mr *MockClientMockRecorder) ChannelPermissionDelete(arg0, arg1 interface{}) *gomock.Call

ChannelPermissionDelete indicates an expected call of ChannelPermissionDelete.

func (*MockClientMockRecorder) GuildChannelTextCreate

func (mr *MockClientMockRecorder) GuildChannelTextCreate(arg0, arg1 interface{}) *gomock.Call

GuildChannelTextCreate indicates an expected call of GuildChannelTextCreate.

func (*MockClientMockRecorder) MessageReactionAdd

func (mr *MockClientMockRecorder) MessageReactionAdd(arg0, arg1, arg2 interface{}) *gomock.Call

MessageReactionAdd indicates an expected call of MessageReactionAdd.

func (*MockClientMockRecorder) MessageReactionRemove

func (mr *MockClientMockRecorder) MessageReactionRemove(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

MessageReactionRemove indicates an expected call of MessageReactionRemove.

func (*MockClientMockRecorder) UserChannelPermissionSet

func (mr *MockClientMockRecorder) UserChannelPermissionSet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UserChannelPermissionSet indicates an expected call of UserChannelPermissionSet.

func (*MockClientMockRecorder) UserChannelPermissions

func (mr *MockClientMockRecorder) UserChannelPermissions(arg0, arg1 interface{}) *gomock.Call

UserChannelPermissions indicates an expected call of UserChannelPermissions.

Jump to

Keyboard shortcuts

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