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 ¶
- type AccountsStore
- func (_m *AccountsStore) AddClan(key string, clan types.Clan) error
- func (_m *AccountsStore) All(_a0 *[]types.Account) error
- func (_m *AccountsStore) GetByDiscordGuild(key string, account *types.Account) error
- func (_m *AccountsStore) GetByServerKey(key string, account *types.Account) error
- func (_m *AccountsStore) Remove(key string) error
- func (_m *AccountsStore) RemoveClan(key string, clanTag string) error
- func (_m *AccountsStore) SetClans(key string, clans []types.Clan) error
- func (_m *AccountsStore) UpsertBase(_a0 types.BaseAccount) error
- type ChatsStore
- type DiscordAuthsStore
- type RaidAlertsStore
- type Storage
- func (_m *Storage) Accounts() storage.AccountsStore
- func (_m *Storage) Chats() storage.ChatsStore
- func (_m *Storage) Close()
- func (_m *Storage) Copy() storage.Storage
- func (_m *Storage) DiscordAuths() storage.DiscordAuthsStore
- func (_m *Storage) Init()
- func (_m *Storage) RaidAlerts() storage.RaidAlertsStore
- func (_m *Storage) Users() storage.UsersStore
- type UsersStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsStore ¶
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 ¶
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 ¶
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 ¶
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
type Storage ¶
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) DiscordAuths ¶
func (_m *Storage) DiscordAuths() storage.DiscordAuthsStore
DiscordAuths 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 ¶
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