mocks

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsStore

type AccountsStore struct {
	mock.Mock
}

AccountsStore is an autogenerated mock type for the AccountsStore type

func (*AccountsStore) AddClan

func (_m *AccountsStore) AddClan(key string, clan types.Clan) error

AddClan provides a mock function with given fields: key, clan

func (*AccountsStore) All

func (_m *AccountsStore) All(_a0 *[]types.Account) error

All provides a mock function with given fields: _a0

func (*AccountsStore) GetByDiscordGuild

func (_m *AccountsStore) GetByDiscordGuild(key string, account *types.Account) error

GetByDiscordGuild provides a mock function with given fields: key, account

func (*AccountsStore) GetByServerKey

func (_m *AccountsStore) GetByServerKey(key string, account *types.Account) error

GetByServerKey provides a mock function with given fields: key, account

func (*AccountsStore) Remove

func (_m *AccountsStore) Remove(key string) error

Remove provides a mock function with given fields: key

func (*AccountsStore) RemoveClan

func (_m *AccountsStore) RemoveClan(key string, clanTag string) error

RemoveClan provides a mock function with given fields: key, clanTag

func (*AccountsStore) SetClans

func (_m *AccountsStore) SetClans(key string, clans []types.Clan) error

SetClans provides a mock function with given fields: key, clans

func (*AccountsStore) UpsertBase

func (_m *AccountsStore) UpsertBase(_a0 types.BaseAccount) error

UpsertBase provides a mock function with given fields: _a0

type ChatsStore

type ChatsStore struct {
	mock.Mock
}

ChatsStore is an autogenerated mock type for the ChatsStore type

func (*ChatsStore) GetNext

func (_m *ChatsStore) GetNext(serverKey string, ChatMessage *types.ChatMessage) error

GetNext provides a mock function with given fields: serverKey, ChatMessage

func (*ChatsStore) Log

func (_m *ChatsStore) Log(_a0 types.ChatMessage) error

Log provides a mock function with given fields: _a0

type DiscordAuthsStore

type DiscordAuthsStore struct {
	mock.Mock
}

DiscordAuthsStore is an autogenerated mock type for the DiscordAuthsStore type

func (*DiscordAuthsStore) Get

func (_m *DiscordAuthsStore) Get(discordName string, da *types.DiscordAuth) error

Get provides a mock function with given fields: discordName, da

func (*DiscordAuthsStore) GetSnowflake

func (_m *DiscordAuthsStore) GetSnowflake(snowflake string, da *types.DiscordAuth) error

GetSnowflake provides a mock function with given fields: snowflake, da

func (*DiscordAuthsStore) Remove

func (_m *DiscordAuthsStore) Remove(_a0 types.SteamInfo) error

Remove provides a mock function with given fields: _a0

func (*DiscordAuthsStore) Upsert

func (_m *DiscordAuthsStore) Upsert(_a0 types.DiscordAuth) error

Upsert provides a mock function with given fields: _a0

type RaidAlertsStore

type RaidAlertsStore struct {
	mock.Mock
}

RaidAlertsStore is an autogenerated mock type for the RaidAlertsStore type

func (*RaidAlertsStore) AddInfo

func (_m *RaidAlertsStore) AddInfo(alertIn time.Duration, ed types.EntityDeath) error

AddInfo provides a mock function with given fields: alertIn, ed

func (*RaidAlertsStore) GetReady

func (_m *RaidAlertsStore) GetReady(_a0 *[]types.RaidAlert) error

GetReady provides a mock function with given fields: _a0

func (*RaidAlertsStore) Remove

func (_m *RaidAlertsStore) Remove(_a0 types.RaidAlert) error

Remove provides a mock function with given fields: _a0

type Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the Storage type

func (*Storage) Accounts

func (_m *Storage) Accounts() storage.AccountsStore

Accounts provides a mock function with given fields:

func (*Storage) Chats

func (_m *Storage) Chats() storage.ChatsStore

Chats provides a mock function with given fields:

func (*Storage) Close

func (_m *Storage) Close()

Close provides a mock function with given fields:

func (*Storage) Copy

func (_m *Storage) Copy() storage.Storage

Copy provides a mock function with given fields:

func (*Storage) DiscordAuths

func (_m *Storage) DiscordAuths() storage.DiscordAuthsStore

DiscordAuths provides a mock function with given fields:

func (*Storage) Init

func (_m *Storage) Init()

Init provides a mock function with given fields:

func (*Storage) RaidAlerts

func (_m *Storage) RaidAlerts() storage.RaidAlertsStore

RaidAlerts provides a mock function with given fields:

func (*Storage) Users

func (_m *Storage) Users() storage.UsersStore

Users provides a mock function with given fields:

type UsersStore

type UsersStore struct {
	mock.Mock
}

UsersStore is an autogenerated mock type for the UsersStore type

func (*UsersStore) Get

func (_m *UsersStore) Get(steamID uint64, u *types.User) error

Get provides a mock function with given fields: steamID, u

func (*UsersStore) UpsertBase

func (_m *UsersStore) UpsertBase(baseUser types.BaseUser) error

UpsertBase provides a mock function with given fields: baseUser

Jump to

Keyboard shortcuts

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