bots

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package bots 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) AcceptAuthRequest

func (m *MockClient) AcceptAuthRequest(pubkey, message string) (bool, error)

AcceptAuthRequest mocks base method.

func (*MockClient) CheckClientConnection

func (m *MockClient) CheckClientConnection() bool

CheckClientConnection mocks base method.

func (*MockClient) CreateUUSDVoucher

func (m *MockClient) CreateUUSDVoucher(amount float64) (string, error)

CreateUUSDVoucher mocks base method.

func (*MockClient) CreateUUSDVoucherBatch

func (m *MockClient) CreateUUSDVoucherBatch(amount float64, count int) (string, error)

CreateUUSDVoucherBatch mocks base method.

func (*MockClient) CreateVoucher

func (m *MockClient) CreateVoucher(amount float64) (string, error)

CreateVoucher mocks base method.

func (*MockClient) CreateVoucherBatch

func (m *MockClient) CreateVoucherBatch(amount float64, count int) (string, error)

CreateVoucherBatch 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) EnableChannelReadOnly

func (m *MockClient) EnableChannelReadOnly(channelID string, readOnly bool) error

EnableChannelReadOnly mocks base method.

func (*MockClient) EnableReadOnly

func (m *MockClient) EnableReadOnly(channelID string, readOnly bool) error

EnableReadOnly mocks base method.

func (*MockClient) GetBalance

func (m *MockClient) GetBalance() (float64, error)

GetBalance mocks base method.

func (*MockClient) GetChannelContacts

func (m *MockClient) GetChannelContacts(channelID string) ([]structs.ChannelContactData, error)

GetChannelContacts mocks base method.

func (*MockClient) GetChannelInfo

func (m *MockClient) GetChannelInfo(channelID string) (structs.ChannelData, error)

GetChannelInfo mocks base method.

func (*MockClient) GetChannelMessages

func (m *MockClient) GetChannelMessages(channelID string, offset, maxMessages int) ([]structs.ChannelMessage, error)

GetChannelMessages mocks base method.

func (*MockClient) GetChannelModeratorRights

func (m *MockClient) GetChannelModeratorRights(channelID, moderatorPubkey string) (structs.ModeratorRights, error)

GetChannelModeratorRights mocks base method.

func (*MockClient) GetChannelModerators

func (m *MockClient) GetChannelModerators(channelID string) ([]string, error)

GetChannelModerators mocks base method.

func (*MockClient) GetChannels

GetChannels mocks base method.

func (*MockClient) GetContact

func (m *MockClient) GetContact(pubkeyOrNick string) (structs.ContactData, error)

GetContact mocks base method.

func (*MockClient) GetContacts

func (m *MockClient) GetContacts(filter string) ([]structs.ContactData, error)

GetContacts mocks base method.

func (*MockClient) GetFinanceHistory

func (m *MockClient) GetFinanceHistory(task structs.GetFinanceHistoryTask) ([]structs.FinanceHistoryData, error)

GetFinanceHistory mocks base method.

func (*MockClient) GetFinanceInfo

func (m *MockClient) GetFinanceInfo() (structs.FinanceInfo, error)

GetFinanceInfo mocks base method.

func (*MockClient) GetNetworkConnections

func (m *MockClient) GetNetworkConnections() ([]structs.PeerInfo, error)

GetNetworkConnections mocks base method.

func (*MockClient) GetOwnContact

func (m *MockClient) GetOwnContact() (structs.OwnContactData, error)

GetOwnContact mocks base method.

func (*MockClient) GetProfileStatus

func (m *MockClient) GetProfileStatus() (structs.ProfileStatus, error)

GetProfileStatus mocks base method.

func (*MockClient) GetStickerImage

func (m *MockClient) GetStickerImage(collectionName, stickerName string) (string, error)

GetStickerImage mocks base method.

func (*MockClient) GetStickerNamesByCollection

func (m *MockClient) GetStickerNamesByCollection(collectionName string) ([]string, error)

GetStickerNamesByCollection mocks base method.

func (*MockClient) GetSyncProgress

func (m *MockClient) GetSyncProgress() (float64, error)

GetSyncProgress mocks base method.

func (*MockClient) GetUUSDBalance

func (m *MockClient) GetUUSDBalance() (float64, error)

GetUUSDBalance mocks base method.

func (*MockClient) GetWebSocketState

func (m *MockClient) GetWebSocketState() (int64, error)

GetWebSocketState mocks base method.

func (*MockClient) JoinChannel

func (m *MockClient) JoinChannel(channelID string, password ...string) (bool, error)

JoinChannel mocks base method.

func (*MockClient) RejectAuthRequest

func (m *MockClient) RejectAuthRequest(pubkey, message string) (bool, error)

RejectAuthRequest mocks base method.

func (*MockClient) RemoveChannelMessage

func (m *MockClient) RemoveChannelMessage(channelID string, messageID uint64) error

RemoveChannelMessage mocks base method.

func (*MockClient) SendAuthRequest

func (m *MockClient) SendAuthRequest(pubkey, message string) (bool, error)

SendAuthRequest mocks base method.

func (*MockClient) SendChannelContactMessage

func (m *MockClient) SendChannelContactMessage(channelID, contactPubkeyHash, message string) (string, error)

SendChannelContactMessage mocks base method.

func (*MockClient) SendChannelMessage

func (m *MockClient) SendChannelMessage(channelID, message string) (string, error)

SendChannelMessage mocks base method.

func (*MockClient) SendChannelPicture

func (m *MockClient) SendChannelPicture(channelID, base64Image, comment, filenameForImage string) (string, error)

SendChannelPicture mocks base method.

func (*MockClient) SendInstantMessage

func (m *MockClient) SendInstantMessage(to, message string) (uint64, error)

SendInstantMessage mocks base method.

func (*MockClient) SendPayment

func (m *MockClient) SendPayment(task structs.SendPaymentTask) (string, error)

SendPayment mocks base method.

func (*MockClient) SetProfileData

func (m *MockClient) SetProfileData(nick, firstName, lastName string) error

SetProfileData mocks base method.

func (*MockClient) SetProfileStatus

func (m *MockClient) SetProfileStatus(status, mood string) error

SetProfileStatus mocks base method.

func (*MockClient) SetWebSocketState

func (m *MockClient) SetWebSocketState(task structs.SetWsStateTask) error

SetWebSocketState mocks base method.

func (*MockClient) ToogleChannelNotifications

func (m *MockClient) ToogleChannelNotifications(channelID string, enabled bool) error

ToogleChannelNotifications mocks base method.

func (*MockClient) UCodeEncode

func (m *MockClient) UCodeEncode(dataHexCode, coder, format string, imageSize int) (string, error)

UCodeEncode mocks base method.

func (*MockClient) UseVoucher

func (m *MockClient) UseVoucher(voucherID string) (string, error)

UseVoucher mocks base method.

func (*MockClient) WsSubscribe

func (m *MockClient) WsSubscribe(task websocket.WsSubscribeTask) (websocket.Handler, error)

WsSubscribe mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AcceptAuthRequest

func (mr *MockClientMockRecorder) AcceptAuthRequest(pubkey, message interface{}) *gomock.Call

AcceptAuthRequest indicates an expected call of AcceptAuthRequest.

func (*MockClientMockRecorder) CheckClientConnection

func (mr *MockClientMockRecorder) CheckClientConnection() *gomock.Call

CheckClientConnection indicates an expected call of CheckClientConnection.

func (*MockClientMockRecorder) CreateUUSDVoucher

func (mr *MockClientMockRecorder) CreateUUSDVoucher(amount interface{}) *gomock.Call

CreateUUSDVoucher indicates an expected call of CreateUUSDVoucher.

func (*MockClientMockRecorder) CreateUUSDVoucherBatch

func (mr *MockClientMockRecorder) CreateUUSDVoucherBatch(amount, count interface{}) *gomock.Call

CreateUUSDVoucherBatch indicates an expected call of CreateUUSDVoucherBatch.

func (*MockClientMockRecorder) CreateVoucher

func (mr *MockClientMockRecorder) CreateVoucher(amount interface{}) *gomock.Call

CreateVoucher indicates an expected call of CreateVoucher.

func (*MockClientMockRecorder) CreateVoucherBatch

func (mr *MockClientMockRecorder) CreateVoucherBatch(amount, count interface{}) *gomock.Call

CreateVoucherBatch indicates an expected call of CreateVoucherBatch.

func (*MockClientMockRecorder) EnableChannelReadOnly

func (mr *MockClientMockRecorder) EnableChannelReadOnly(channelID, readOnly interface{}) *gomock.Call

EnableChannelReadOnly indicates an expected call of EnableChannelReadOnly.

func (*MockClientMockRecorder) EnableReadOnly

func (mr *MockClientMockRecorder) EnableReadOnly(channelID, readOnly interface{}) *gomock.Call

EnableReadOnly indicates an expected call of EnableReadOnly.

func (*MockClientMockRecorder) GetBalance

func (mr *MockClientMockRecorder) GetBalance() *gomock.Call

GetBalance indicates an expected call of GetBalance.

func (*MockClientMockRecorder) GetChannelContacts

func (mr *MockClientMockRecorder) GetChannelContacts(channelID interface{}) *gomock.Call

GetChannelContacts indicates an expected call of GetChannelContacts.

func (*MockClientMockRecorder) GetChannelInfo

func (mr *MockClientMockRecorder) GetChannelInfo(channelID interface{}) *gomock.Call

GetChannelInfo indicates an expected call of GetChannelInfo.

func (*MockClientMockRecorder) GetChannelMessages

func (mr *MockClientMockRecorder) GetChannelMessages(channelID, offset, maxMessages interface{}) *gomock.Call

GetChannelMessages indicates an expected call of GetChannelMessages.

func (*MockClientMockRecorder) GetChannelModeratorRights

func (mr *MockClientMockRecorder) GetChannelModeratorRights(channelID, moderatorPubkey interface{}) *gomock.Call

GetChannelModeratorRights indicates an expected call of GetChannelModeratorRights.

func (*MockClientMockRecorder) GetChannelModerators

func (mr *MockClientMockRecorder) GetChannelModerators(channelID interface{}) *gomock.Call

GetChannelModerators indicates an expected call of GetChannelModerators.

func (*MockClientMockRecorder) GetChannels

func (mr *MockClientMockRecorder) GetChannels(task interface{}) *gomock.Call

GetChannels indicates an expected call of GetChannels.

func (*MockClientMockRecorder) GetContact

func (mr *MockClientMockRecorder) GetContact(pubkeyOrNick interface{}) *gomock.Call

GetContact indicates an expected call of GetContact.

func (*MockClientMockRecorder) GetContacts

func (mr *MockClientMockRecorder) GetContacts(filter interface{}) *gomock.Call

GetContacts indicates an expected call of GetContacts.

func (*MockClientMockRecorder) GetFinanceHistory

func (mr *MockClientMockRecorder) GetFinanceHistory(task interface{}) *gomock.Call

GetFinanceHistory indicates an expected call of GetFinanceHistory.

func (*MockClientMockRecorder) GetFinanceInfo

func (mr *MockClientMockRecorder) GetFinanceInfo() *gomock.Call

GetFinanceInfo indicates an expected call of GetFinanceInfo.

func (*MockClientMockRecorder) GetNetworkConnections

func (mr *MockClientMockRecorder) GetNetworkConnections() *gomock.Call

GetNetworkConnections indicates an expected call of GetNetworkConnections.

func (*MockClientMockRecorder) GetOwnContact

func (mr *MockClientMockRecorder) GetOwnContact() *gomock.Call

GetOwnContact indicates an expected call of GetOwnContact.

func (*MockClientMockRecorder) GetProfileStatus

func (mr *MockClientMockRecorder) GetProfileStatus() *gomock.Call

GetProfileStatus indicates an expected call of GetProfileStatus.

func (*MockClientMockRecorder) GetStickerImage

func (mr *MockClientMockRecorder) GetStickerImage(collectionName, stickerName interface{}) *gomock.Call

GetStickerImage indicates an expected call of GetStickerImage.

func (*MockClientMockRecorder) GetStickerNamesByCollection

func (mr *MockClientMockRecorder) GetStickerNamesByCollection(collectionName interface{}) *gomock.Call

GetStickerNamesByCollection indicates an expected call of GetStickerNamesByCollection.

func (*MockClientMockRecorder) GetSyncProgress

func (mr *MockClientMockRecorder) GetSyncProgress() *gomock.Call

GetSyncProgress indicates an expected call of GetSyncProgress.

func (*MockClientMockRecorder) GetUUSDBalance

func (mr *MockClientMockRecorder) GetUUSDBalance() *gomock.Call

GetUUSDBalance indicates an expected call of GetUUSDBalance.

func (*MockClientMockRecorder) GetWebSocketState

func (mr *MockClientMockRecorder) GetWebSocketState() *gomock.Call

GetWebSocketState indicates an expected call of GetWebSocketState.

func (*MockClientMockRecorder) JoinChannel

func (mr *MockClientMockRecorder) JoinChannel(channelID interface{}, password ...interface{}) *gomock.Call

JoinChannel indicates an expected call of JoinChannel.

func (*MockClientMockRecorder) RejectAuthRequest

func (mr *MockClientMockRecorder) RejectAuthRequest(pubkey, message interface{}) *gomock.Call

RejectAuthRequest indicates an expected call of RejectAuthRequest.

func (*MockClientMockRecorder) RemoveChannelMessage

func (mr *MockClientMockRecorder) RemoveChannelMessage(channelID, messageID interface{}) *gomock.Call

RemoveChannelMessage indicates an expected call of RemoveChannelMessage.

func (*MockClientMockRecorder) SendAuthRequest

func (mr *MockClientMockRecorder) SendAuthRequest(pubkey, message interface{}) *gomock.Call

SendAuthRequest indicates an expected call of SendAuthRequest.

func (*MockClientMockRecorder) SendChannelContactMessage

func (mr *MockClientMockRecorder) SendChannelContactMessage(channelID, contactPubkeyHash, message interface{}) *gomock.Call

SendChannelContactMessage indicates an expected call of SendChannelContactMessage.

func (*MockClientMockRecorder) SendChannelMessage

func (mr *MockClientMockRecorder) SendChannelMessage(channelID, message interface{}) *gomock.Call

SendChannelMessage indicates an expected call of SendChannelMessage.

func (*MockClientMockRecorder) SendChannelPicture

func (mr *MockClientMockRecorder) SendChannelPicture(channelID, base64Image, comment, filenameForImage interface{}) *gomock.Call

SendChannelPicture indicates an expected call of SendChannelPicture.

func (*MockClientMockRecorder) SendInstantMessage

func (mr *MockClientMockRecorder) SendInstantMessage(to, message interface{}) *gomock.Call

SendInstantMessage indicates an expected call of SendInstantMessage.

func (*MockClientMockRecorder) SendPayment

func (mr *MockClientMockRecorder) SendPayment(task interface{}) *gomock.Call

SendPayment indicates an expected call of SendPayment.

func (*MockClientMockRecorder) SetProfileData

func (mr *MockClientMockRecorder) SetProfileData(nick, firstName, lastName interface{}) *gomock.Call

SetProfileData indicates an expected call of SetProfileData.

func (*MockClientMockRecorder) SetProfileStatus

func (mr *MockClientMockRecorder) SetProfileStatus(status, mood interface{}) *gomock.Call

SetProfileStatus indicates an expected call of SetProfileStatus.

func (*MockClientMockRecorder) SetWebSocketState

func (mr *MockClientMockRecorder) SetWebSocketState(task interface{}) *gomock.Call

SetWebSocketState indicates an expected call of SetWebSocketState.

func (*MockClientMockRecorder) ToogleChannelNotifications

func (mr *MockClientMockRecorder) ToogleChannelNotifications(channelID, enabled interface{}) *gomock.Call

ToogleChannelNotifications indicates an expected call of ToogleChannelNotifications.

func (*MockClientMockRecorder) UCodeEncode

func (mr *MockClientMockRecorder) UCodeEncode(dataHexCode, coder, format, imageSize interface{}) *gomock.Call

UCodeEncode indicates an expected call of UCodeEncode.

func (*MockClientMockRecorder) UseVoucher

func (mr *MockClientMockRecorder) UseVoucher(voucherID interface{}) *gomock.Call

UseVoucher indicates an expected call of UseVoucher.

func (*MockClientMockRecorder) WsSubscribe

func (mr *MockClientMockRecorder) WsSubscribe(task interface{}) *gomock.Call

WsSubscribe indicates an expected call of WsSubscribe.

Jump to

Keyboard shortcuts

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