retrylayer

package
v5.33.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RetryLayer

type RetryLayer struct {
	store.Store
	AuditStore                store.AuditStore
	BotStore                  store.BotStore
	ChannelStore              store.ChannelStore
	ChannelMemberHistoryStore store.ChannelMemberHistoryStore
	ClusterDiscoveryStore     store.ClusterDiscoveryStore
	CommandStore              store.CommandStore
	CommandWebhookStore       store.CommandWebhookStore
	ComplianceStore           store.ComplianceStore
	EmojiStore                store.EmojiStore
	FileInfoStore             store.FileInfoStore
	GroupStore                store.GroupStore
	JobStore                  store.JobStore
	LicenseStore              store.LicenseStore
	LinkMetadataStore         store.LinkMetadataStore
	OAuthStore                store.OAuthStore
	PluginStore               store.PluginStore
	PostStore                 store.PostStore
	PreferenceStore           store.PreferenceStore
	ProductNoticesStore       store.ProductNoticesStore
	ReactionStore             store.ReactionStore
	RoleStore                 store.RoleStore
	SchemeStore               store.SchemeStore
	SessionStore              store.SessionStore
	StatusStore               store.StatusStore
	SystemStore               store.SystemStore
	TeamStore                 store.TeamStore
	TermsOfServiceStore       store.TermsOfServiceStore
	ThreadStore               store.ThreadStore
	TokenStore                store.TokenStore
	UploadSessionStore        store.UploadSessionStore
	UserStore                 store.UserStore
	UserAccessTokenStore      store.UserAccessTokenStore
	UserTermsOfServiceStore   store.UserTermsOfServiceStore
	WebhookStore              store.WebhookStore
}

func New

func New(childStore store.Store) *RetryLayer

func (*RetryLayer) Audit

func (s *RetryLayer) Audit() store.AuditStore

func (*RetryLayer) Bot

func (s *RetryLayer) Bot() store.BotStore

func (*RetryLayer) Channel

func (s *RetryLayer) Channel() store.ChannelStore

func (*RetryLayer) ChannelMemberHistory

func (s *RetryLayer) ChannelMemberHistory() store.ChannelMemberHistoryStore

func (*RetryLayer) Close

func (s *RetryLayer) Close()

func (*RetryLayer) ClusterDiscovery

func (s *RetryLayer) ClusterDiscovery() store.ClusterDiscoveryStore

func (*RetryLayer) Command

func (s *RetryLayer) Command() store.CommandStore

func (*RetryLayer) CommandWebhook

func (s *RetryLayer) CommandWebhook() store.CommandWebhookStore

func (*RetryLayer) Compliance

func (s *RetryLayer) Compliance() store.ComplianceStore

func (*RetryLayer) DropAllTables

func (s *RetryLayer) DropAllTables()

func (*RetryLayer) Emoji

func (s *RetryLayer) Emoji() store.EmojiStore

func (*RetryLayer) FileInfo

func (s *RetryLayer) FileInfo() store.FileInfoStore

func (*RetryLayer) GetCurrentSchemaVersion

func (s *RetryLayer) GetCurrentSchemaVersion() string

func (*RetryLayer) Group

func (s *RetryLayer) Group() store.GroupStore

func (*RetryLayer) Job

func (s *RetryLayer) Job() store.JobStore

func (*RetryLayer) License

func (s *RetryLayer) License() store.LicenseStore

func (*RetryLayer) LinkMetadata

func (s *RetryLayer) LinkMetadata() store.LinkMetadataStore

func (*RetryLayer) LockToMaster

func (s *RetryLayer) LockToMaster()

func (*RetryLayer) MarkSystemRanUnitTests

func (s *RetryLayer) MarkSystemRanUnitTests()

func (*RetryLayer) OAuth

func (s *RetryLayer) OAuth() store.OAuthStore

func (*RetryLayer) Plugin

func (s *RetryLayer) Plugin() store.PluginStore

func (*RetryLayer) Post

func (s *RetryLayer) Post() store.PostStore

func (*RetryLayer) Preference

func (s *RetryLayer) Preference() store.PreferenceStore

func (*RetryLayer) ProductNotices

func (s *RetryLayer) ProductNotices() store.ProductNoticesStore

func (*RetryLayer) Reaction

func (s *RetryLayer) Reaction() store.ReactionStore

func (*RetryLayer) Role

func (s *RetryLayer) Role() store.RoleStore

func (*RetryLayer) Scheme

func (s *RetryLayer) Scheme() store.SchemeStore

func (*RetryLayer) Session

func (s *RetryLayer) Session() store.SessionStore

func (*RetryLayer) SetContext

func (s *RetryLayer) SetContext(context context.Context)

func (*RetryLayer) Status

func (s *RetryLayer) Status() store.StatusStore

func (*RetryLayer) System

func (s *RetryLayer) System() store.SystemStore

func (*RetryLayer) Team

func (s *RetryLayer) Team() store.TeamStore

func (*RetryLayer) TermsOfService

func (s *RetryLayer) TermsOfService() store.TermsOfServiceStore

func (*RetryLayer) Thread

func (s *RetryLayer) Thread() store.ThreadStore

func (*RetryLayer) Token

func (s *RetryLayer) Token() store.TokenStore

func (*RetryLayer) TotalMasterDbConnections

func (s *RetryLayer) TotalMasterDbConnections() int

func (*RetryLayer) TotalReadDbConnections

func (s *RetryLayer) TotalReadDbConnections() int

func (*RetryLayer) TotalSearchDbConnections

func (s *RetryLayer) TotalSearchDbConnections() int

func (*RetryLayer) UnlockFromMaster

func (s *RetryLayer) UnlockFromMaster()

func (*RetryLayer) UploadSession

func (s *RetryLayer) UploadSession() store.UploadSessionStore

func (*RetryLayer) User

func (s *RetryLayer) User() store.UserStore

func (*RetryLayer) UserAccessToken

func (s *RetryLayer) UserAccessToken() store.UserAccessTokenStore

func (*RetryLayer) UserTermsOfService

func (s *RetryLayer) UserTermsOfService() store.UserTermsOfServiceStore

func (*RetryLayer) Webhook

func (s *RetryLayer) Webhook() store.WebhookStore

type RetryLayerAuditStore

type RetryLayerAuditStore struct {
	store.AuditStore
	Root *RetryLayer
}

func (*RetryLayerAuditStore) Get

func (s *RetryLayerAuditStore) Get(user_id string, offset int, limit int) (model.Audits, error)

func (*RetryLayerAuditStore) PermanentDeleteByUser

func (s *RetryLayerAuditStore) PermanentDeleteByUser(userId string) error

func (*RetryLayerAuditStore) Save

func (s *RetryLayerAuditStore) Save(audit *model.Audit) error

type RetryLayerBotStore

type RetryLayerBotStore struct {
	store.BotStore
	Root *RetryLayer
}

func (*RetryLayerBotStore) Get

func (s *RetryLayerBotStore) Get(userId string, includeDeleted bool) (*model.Bot, error)

func (*RetryLayerBotStore) GetAll

func (s *RetryLayerBotStore) GetAll(options *model.BotGetOptions) ([]*model.Bot, error)

func (*RetryLayerBotStore) PermanentDelete

func (s *RetryLayerBotStore) PermanentDelete(userId string) error

func (*RetryLayerBotStore) Save

func (s *RetryLayerBotStore) Save(bot *model.Bot) (*model.Bot, error)

func (*RetryLayerBotStore) Update

func (s *RetryLayerBotStore) Update(bot *model.Bot) (*model.Bot, error)

type RetryLayerChannelMemberHistoryStore

type RetryLayerChannelMemberHistoryStore struct {
	store.ChannelMemberHistoryStore
	Root *RetryLayer
}

func (*RetryLayerChannelMemberHistoryStore) GetUsersInChannelDuring

func (s *RetryLayerChannelMemberHistoryStore) GetUsersInChannelDuring(startTime int64, endTime int64, channelId string) ([]*model.ChannelMemberHistoryResult, error)

func (*RetryLayerChannelMemberHistoryStore) LogJoinEvent

func (s *RetryLayerChannelMemberHistoryStore) LogJoinEvent(userId string, channelId string, joinTime int64) error

func (*RetryLayerChannelMemberHistoryStore) LogLeaveEvent

func (s *RetryLayerChannelMemberHistoryStore) LogLeaveEvent(userId string, channelId string, leaveTime int64) error

func (*RetryLayerChannelMemberHistoryStore) PermanentDeleteBatch

func (s *RetryLayerChannelMemberHistoryStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)

type RetryLayerChannelStore

type RetryLayerChannelStore struct {
	store.ChannelStore
	Root *RetryLayer
}

func (*RetryLayerChannelStore) AnalyticsDeletedTypeCount

func (s *RetryLayerChannelStore) AnalyticsDeletedTypeCount(teamId string, channelType string) (int64, error)

func (*RetryLayerChannelStore) AnalyticsTypeCount

func (s *RetryLayerChannelStore) AnalyticsTypeCount(teamId string, channelType string) (int64, error)

func (*RetryLayerChannelStore) AutocompleteInTeam

func (s *RetryLayerChannelStore) AutocompleteInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, error)

func (*RetryLayerChannelStore) AutocompleteInTeamForSearch

func (s *RetryLayerChannelStore) AutocompleteInTeamForSearch(teamId string, userId string, term string, includeDeleted bool) (*model.ChannelList, error)

func (*RetryLayerChannelStore) ClearAllCustomRoleAssignments

func (s *RetryLayerChannelStore) ClearAllCustomRoleAssignments() error

func (*RetryLayerChannelStore) ClearCaches

func (s *RetryLayerChannelStore) ClearCaches()

func (*RetryLayerChannelStore) ClearSidebarOnTeamLeave

func (s *RetryLayerChannelStore) ClearSidebarOnTeamLeave(userId string, teamId string) error

func (*RetryLayerChannelStore) CountPostsAfter

func (s *RetryLayerChannelStore) CountPostsAfter(channelId string, timestamp int64, userId string) (int, error)

func (*RetryLayerChannelStore) CreateDirectChannel

func (s *RetryLayerChannelStore) CreateDirectChannel(userId *model.User, otherUserId *model.User) (*model.Channel, error)

func (*RetryLayerChannelStore) CreateInitialSidebarCategories

func (s *RetryLayerChannelStore) CreateInitialSidebarCategories(userId string, teamId string) error

func (*RetryLayerChannelStore) CreateSidebarCategory

func (s *RetryLayerChannelStore) CreateSidebarCategory(userId string, teamId string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, error)

func (*RetryLayerChannelStore) Delete

func (s *RetryLayerChannelStore) Delete(channelId string, time int64) error

func (*RetryLayerChannelStore) DeleteSidebarCategory

func (s *RetryLayerChannelStore) DeleteSidebarCategory(categoryId string) error

func (*RetryLayerChannelStore) DeleteSidebarChannelsByPreferences

func (s *RetryLayerChannelStore) DeleteSidebarChannelsByPreferences(preferences *model.Preferences) error

func (*RetryLayerChannelStore) Get

func (s *RetryLayerChannelStore) Get(id string, allowFromCache bool) (*model.Channel, error)

func (*RetryLayerChannelStore) GetAll

func (s *RetryLayerChannelStore) GetAll(teamId string) ([]*model.Channel, error)

func (*RetryLayerChannelStore) GetAllChannelMembersForUser

func (s *RetryLayerChannelStore) GetAllChannelMembersForUser(userId string, allowFromCache bool, includeDeleted bool) (map[string]string, error)

func (*RetryLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel

func (s *RetryLayerChannelStore) GetAllChannelMembersNotifyPropsForChannel(channelId string, allowFromCache bool) (map[string]model.StringMap, error)

func (*RetryLayerChannelStore) GetAllChannels

func (s *RetryLayerChannelStore) GetAllChannels(page int, perPage int, opts store.ChannelSearchOpts) (*model.ChannelListWithTeamData, error)

func (*RetryLayerChannelStore) GetAllChannelsCount

func (s *RetryLayerChannelStore) GetAllChannelsCount(opts store.ChannelSearchOpts) (int64, error)

func (*RetryLayerChannelStore) GetAllChannelsForExportAfter

func (s *RetryLayerChannelStore) GetAllChannelsForExportAfter(limit int, afterId string) ([]*model.ChannelForExport, error)

func (*RetryLayerChannelStore) GetAllDirectChannelsForExportAfter

func (s *RetryLayerChannelStore) GetAllDirectChannelsForExportAfter(limit int, afterId string) ([]*model.DirectChannelForExport, error)

func (*RetryLayerChannelStore) GetByName

func (s *RetryLayerChannelStore) GetByName(team_id string, name string, allowFromCache bool) (*model.Channel, error)

func (*RetryLayerChannelStore) GetByNameIncludeDeleted

func (s *RetryLayerChannelStore) GetByNameIncludeDeleted(team_id string, name string, allowFromCache bool) (*model.Channel, error)

func (*RetryLayerChannelStore) GetByNames

func (s *RetryLayerChannelStore) GetByNames(team_id string, names []string, allowFromCache bool) ([]*model.Channel, error)

func (*RetryLayerChannelStore) GetChannelCounts

func (s *RetryLayerChannelStore) GetChannelCounts(teamId string, userId string) (*model.ChannelCounts, error)

func (*RetryLayerChannelStore) GetChannelMembersForExport

func (s *RetryLayerChannelStore) GetChannelMembersForExport(userId string, teamId string) ([]*model.ChannelMemberForExport, error)

func (*RetryLayerChannelStore) GetChannelMembersTimezones

func (s *RetryLayerChannelStore) GetChannelMembersTimezones(channelId string) ([]model.StringMap, error)

func (*RetryLayerChannelStore) GetChannelUnread

func (s *RetryLayerChannelStore) GetChannelUnread(channelId string, userId string) (*model.ChannelUnread, error)

func (*RetryLayerChannelStore) GetChannels

func (s *RetryLayerChannelStore) GetChannels(teamId string, userId string, includeDeleted bool, lastDeleteAt int) (*model.ChannelList, error)

func (*RetryLayerChannelStore) GetChannelsBatchForIndexing

func (s *RetryLayerChannelStore) GetChannelsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.Channel, error)

func (*RetryLayerChannelStore) GetChannelsByIds

func (s *RetryLayerChannelStore) GetChannelsByIds(channelIds []string, includeDeleted bool) ([]*model.Channel, error)

func (*RetryLayerChannelStore) GetChannelsByScheme

func (s *RetryLayerChannelStore) GetChannelsByScheme(schemeId string, offset int, limit int) (model.ChannelList, error)

func (*RetryLayerChannelStore) GetDeleted

func (s *RetryLayerChannelStore) GetDeleted(team_id string, offset int, limit int, userId string) (*model.ChannelList, error)

func (*RetryLayerChannelStore) GetDeletedByName

func (s *RetryLayerChannelStore) GetDeletedByName(team_id string, name string) (*model.Channel, error)

func (*RetryLayerChannelStore) GetForPost

func (s *RetryLayerChannelStore) GetForPost(postId string) (*model.Channel, error)

func (*RetryLayerChannelStore) GetFromMaster

func (s *RetryLayerChannelStore) GetFromMaster(id string) (*model.Channel, error)

func (*RetryLayerChannelStore) GetGuestCount

func (s *RetryLayerChannelStore) GetGuestCount(channelId string, allowFromCache bool) (int64, error)

func (*RetryLayerChannelStore) GetMember

func (s *RetryLayerChannelStore) GetMember(channelId string, userId string) (*model.ChannelMember, error)

func (*RetryLayerChannelStore) GetMemberCount

func (s *RetryLayerChannelStore) GetMemberCount(channelId string, allowFromCache bool) (int64, error)

func (*RetryLayerChannelStore) GetMemberCountFromCache

func (s *RetryLayerChannelStore) GetMemberCountFromCache(channelId string) int64

func (*RetryLayerChannelStore) GetMemberCountsByGroup

func (s *RetryLayerChannelStore) GetMemberCountsByGroup(channelID string, includeTimezones bool) ([]*model.ChannelMemberCountByGroup, error)

func (*RetryLayerChannelStore) GetMemberForPost

func (s *RetryLayerChannelStore) GetMemberForPost(postId string, userId string) (*model.ChannelMember, error)

func (*RetryLayerChannelStore) GetMembers

func (s *RetryLayerChannelStore) GetMembers(channelId string, offset int, limit int) (*model.ChannelMembers, error)

func (*RetryLayerChannelStore) GetMembersByChannelIds

func (s *RetryLayerChannelStore) GetMembersByChannelIds(channelIds []string, userId string) (*model.ChannelMembers, error)

func (*RetryLayerChannelStore) GetMembersByIds

func (s *RetryLayerChannelStore) GetMembersByIds(channelId string, userIds []string) (*model.ChannelMembers, error)

func (*RetryLayerChannelStore) GetMembersForUser

func (s *RetryLayerChannelStore) GetMembersForUser(teamId string, userId string) (*model.ChannelMembers, error)

func (*RetryLayerChannelStore) GetMembersForUserWithPagination

func (s *RetryLayerChannelStore) GetMembersForUserWithPagination(teamId string, userId string, page int, perPage int) (*model.ChannelMembers, error)

func (*RetryLayerChannelStore) GetMoreChannels

func (s *RetryLayerChannelStore) GetMoreChannels(teamId string, userId string, offset int, limit int) (*model.ChannelList, error)

func (*RetryLayerChannelStore) GetPinnedPostCount

func (s *RetryLayerChannelStore) GetPinnedPostCount(channelId string, allowFromCache bool) (int64, error)

func (*RetryLayerChannelStore) GetPinnedPosts

func (s *RetryLayerChannelStore) GetPinnedPosts(channelId string) (*model.PostList, error)

func (*RetryLayerChannelStore) GetPrivateChannelsForTeam

func (s *RetryLayerChannelStore) GetPrivateChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, error)

func (*RetryLayerChannelStore) GetPublicChannelsByIdsForTeam

func (s *RetryLayerChannelStore) GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) (*model.ChannelList, error)

func (*RetryLayerChannelStore) GetPublicChannelsForTeam

func (s *RetryLayerChannelStore) GetPublicChannelsForTeam(teamId string, offset int, limit int) (*model.ChannelList, error)

func (*RetryLayerChannelStore) GetSidebarCategories

func (s *RetryLayerChannelStore) GetSidebarCategories(userId string, teamId string) (*model.OrderedSidebarCategories, error)

func (*RetryLayerChannelStore) GetSidebarCategory

func (s *RetryLayerChannelStore) GetSidebarCategory(categoryId string) (*model.SidebarCategoryWithChannels, error)

func (*RetryLayerChannelStore) GetSidebarCategoryOrder

func (s *RetryLayerChannelStore) GetSidebarCategoryOrder(userId string, teamId string) ([]string, error)

func (*RetryLayerChannelStore) GetTeamChannels

func (s *RetryLayerChannelStore) GetTeamChannels(teamId string) (*model.ChannelList, error)

func (*RetryLayerChannelStore) GroupSyncedChannelCount

func (s *RetryLayerChannelStore) GroupSyncedChannelCount() (int64, error)

func (*RetryLayerChannelStore) IncrementMentionCount

func (s *RetryLayerChannelStore) IncrementMentionCount(channelId string, userId string, updateThreads bool) error

func (*RetryLayerChannelStore) InvalidateAllChannelMembersForUser

func (s *RetryLayerChannelStore) InvalidateAllChannelMembersForUser(userId string)

func (*RetryLayerChannelStore) InvalidateCacheForChannelMembersNotifyProps

func (s *RetryLayerChannelStore) InvalidateCacheForChannelMembersNotifyProps(channelId string)

func (*RetryLayerChannelStore) InvalidateChannel

func (s *RetryLayerChannelStore) InvalidateChannel(id string)

func (*RetryLayerChannelStore) InvalidateChannelByName

func (s *RetryLayerChannelStore) InvalidateChannelByName(teamId string, name string)

func (*RetryLayerChannelStore) InvalidateGuestCount

func (s *RetryLayerChannelStore) InvalidateGuestCount(channelId string)

func (*RetryLayerChannelStore) InvalidateMemberCount

func (s *RetryLayerChannelStore) InvalidateMemberCount(channelId string)

func (*RetryLayerChannelStore) InvalidatePinnedPostCount

func (s *RetryLayerChannelStore) InvalidatePinnedPostCount(channelId string)

func (*RetryLayerChannelStore) IsUserInChannelUseCache

func (s *RetryLayerChannelStore) IsUserInChannelUseCache(userId string, channelId string) bool

func (*RetryLayerChannelStore) MigrateChannelMembers

func (s *RetryLayerChannelStore) MigrateChannelMembers(fromChannelId string, fromUserId string) (map[string]string, error)

func (*RetryLayerChannelStore) MigratePublicChannels

func (s *RetryLayerChannelStore) MigratePublicChannels() error

func (*RetryLayerChannelStore) PermanentDelete

func (s *RetryLayerChannelStore) PermanentDelete(channelId string) error

func (*RetryLayerChannelStore) PermanentDeleteByTeam

func (s *RetryLayerChannelStore) PermanentDeleteByTeam(teamId string) error

func (*RetryLayerChannelStore) PermanentDeleteMembersByChannel

func (s *RetryLayerChannelStore) PermanentDeleteMembersByChannel(channelId string) error

func (*RetryLayerChannelStore) PermanentDeleteMembersByUser

func (s *RetryLayerChannelStore) PermanentDeleteMembersByUser(userId string) error

func (*RetryLayerChannelStore) RemoveAllDeactivatedMembers

func (s *RetryLayerChannelStore) RemoveAllDeactivatedMembers(channelId string) error

func (*RetryLayerChannelStore) RemoveMember

func (s *RetryLayerChannelStore) RemoveMember(channelId string, userId string) error

func (*RetryLayerChannelStore) RemoveMembers

func (s *RetryLayerChannelStore) RemoveMembers(channelId string, userIds []string) error

func (*RetryLayerChannelStore) ResetAllChannelSchemes

func (s *RetryLayerChannelStore) ResetAllChannelSchemes() error

func (*RetryLayerChannelStore) Restore

func (s *RetryLayerChannelStore) Restore(channelId string, time int64) error

func (*RetryLayerChannelStore) Save

func (s *RetryLayerChannelStore) Save(channel *model.Channel, maxChannelsPerTeam int64) (*model.Channel, error)

func (*RetryLayerChannelStore) SaveDirectChannel

func (s *RetryLayerChannelStore) SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, member2 *model.ChannelMember) (*model.Channel, error)

func (*RetryLayerChannelStore) SaveMember

func (*RetryLayerChannelStore) SaveMultipleMembers

func (s *RetryLayerChannelStore) SaveMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)

func (*RetryLayerChannelStore) SearchAllChannels

func (*RetryLayerChannelStore) SearchArchivedInTeam

func (s *RetryLayerChannelStore) SearchArchivedInTeam(teamId string, term string, userId string) (*model.ChannelList, error)

func (*RetryLayerChannelStore) SearchForUserInTeam

func (s *RetryLayerChannelStore) SearchForUserInTeam(userId string, teamId string, term string, includeDeleted bool) (*model.ChannelList, error)

func (*RetryLayerChannelStore) SearchGroupChannels

func (s *RetryLayerChannelStore) SearchGroupChannels(userId string, term string) (*model.ChannelList, error)

func (*RetryLayerChannelStore) SearchInTeam

func (s *RetryLayerChannelStore) SearchInTeam(teamId string, term string, includeDeleted bool) (*model.ChannelList, error)

func (*RetryLayerChannelStore) SearchMore

func (s *RetryLayerChannelStore) SearchMore(userId string, teamId string, term string) (*model.ChannelList, error)

func (*RetryLayerChannelStore) SetDeleteAt

func (s *RetryLayerChannelStore) SetDeleteAt(channelId string, deleteAt int64, updateAt int64) error

func (*RetryLayerChannelStore) Update

func (s *RetryLayerChannelStore) Update(channel *model.Channel) (*model.Channel, error)

func (*RetryLayerChannelStore) UpdateLastViewedAt

func (s *RetryLayerChannelStore) UpdateLastViewedAt(channelIds []string, userId string, updateThreads bool) (map[string]int64, error)

func (*RetryLayerChannelStore) UpdateLastViewedAtPost

func (s *RetryLayerChannelStore) UpdateLastViewedAtPost(unreadPost *model.Post, userID string, mentionCount int, updateThreads bool) (*model.ChannelUnreadAt, error)

func (*RetryLayerChannelStore) UpdateMember

func (s *RetryLayerChannelStore) UpdateMember(member *model.ChannelMember) (*model.ChannelMember, error)

func (*RetryLayerChannelStore) UpdateMembersRole

func (s *RetryLayerChannelStore) UpdateMembersRole(channelID string, userIDs []string) error

func (*RetryLayerChannelStore) UpdateMultipleMembers

func (s *RetryLayerChannelStore) UpdateMultipleMembers(members []*model.ChannelMember) ([]*model.ChannelMember, error)

func (*RetryLayerChannelStore) UpdateSidebarCategories

func (*RetryLayerChannelStore) UpdateSidebarCategoryOrder

func (s *RetryLayerChannelStore) UpdateSidebarCategoryOrder(userId string, teamId string, categoryOrder []string) error

func (*RetryLayerChannelStore) UpdateSidebarChannelCategoryOnMove

func (s *RetryLayerChannelStore) UpdateSidebarChannelCategoryOnMove(channel *model.Channel, newTeamId string) error

func (*RetryLayerChannelStore) UpdateSidebarChannelsByPreferences

func (s *RetryLayerChannelStore) UpdateSidebarChannelsByPreferences(preferences *model.Preferences) error

func (*RetryLayerChannelStore) UserBelongsToChannels

func (s *RetryLayerChannelStore) UserBelongsToChannels(userId string, channelIds []string) (bool, error)

type RetryLayerClusterDiscoveryStore

type RetryLayerClusterDiscoveryStore struct {
	store.ClusterDiscoveryStore
	Root *RetryLayer
}

func (*RetryLayerClusterDiscoveryStore) Cleanup

func (*RetryLayerClusterDiscoveryStore) Delete

func (*RetryLayerClusterDiscoveryStore) Exists

func (*RetryLayerClusterDiscoveryStore) GetAll

func (s *RetryLayerClusterDiscoveryStore) GetAll(discoveryType string, clusterName string) ([]*model.ClusterDiscovery, error)

func (*RetryLayerClusterDiscoveryStore) Save

func (*RetryLayerClusterDiscoveryStore) SetLastPingAt

func (s *RetryLayerClusterDiscoveryStore) SetLastPingAt(discovery *model.ClusterDiscovery) error

type RetryLayerCommandStore

type RetryLayerCommandStore struct {
	store.CommandStore
	Root *RetryLayer
}

func (*RetryLayerCommandStore) AnalyticsCommandCount

func (s *RetryLayerCommandStore) AnalyticsCommandCount(teamId string) (int64, error)

func (*RetryLayerCommandStore) Delete

func (s *RetryLayerCommandStore) Delete(commandId string, time int64) error

func (*RetryLayerCommandStore) Get

func (*RetryLayerCommandStore) GetByTeam

func (s *RetryLayerCommandStore) GetByTeam(teamId string) ([]*model.Command, error)

func (*RetryLayerCommandStore) GetByTrigger

func (s *RetryLayerCommandStore) GetByTrigger(teamId string, trigger string) (*model.Command, error)

func (*RetryLayerCommandStore) PermanentDeleteByTeam

func (s *RetryLayerCommandStore) PermanentDeleteByTeam(teamId string) error

func (*RetryLayerCommandStore) PermanentDeleteByUser

func (s *RetryLayerCommandStore) PermanentDeleteByUser(userId string) error

func (*RetryLayerCommandStore) Save

func (s *RetryLayerCommandStore) Save(webhook *model.Command) (*model.Command, error)

func (*RetryLayerCommandStore) Update

func (s *RetryLayerCommandStore) Update(hook *model.Command) (*model.Command, error)

type RetryLayerCommandWebhookStore

type RetryLayerCommandWebhookStore struct {
	store.CommandWebhookStore
	Root *RetryLayer
}

func (*RetryLayerCommandWebhookStore) Cleanup

func (s *RetryLayerCommandWebhookStore) Cleanup()

func (*RetryLayerCommandWebhookStore) Get

func (*RetryLayerCommandWebhookStore) Save

func (*RetryLayerCommandWebhookStore) TryUse

func (s *RetryLayerCommandWebhookStore) TryUse(id string, limit int) error

type RetryLayerComplianceStore

type RetryLayerComplianceStore struct {
	store.ComplianceStore
	Root *RetryLayer
}

func (*RetryLayerComplianceStore) ComplianceExport

func (s *RetryLayerComplianceStore) ComplianceExport(compliance *model.Compliance) ([]*model.CompliancePost, error)

func (*RetryLayerComplianceStore) Get

func (*RetryLayerComplianceStore) GetAll

func (s *RetryLayerComplianceStore) GetAll(offset int, limit int) (model.Compliances, error)

func (*RetryLayerComplianceStore) MessageExport

func (s *RetryLayerComplianceStore) MessageExport(after int64, limit int) ([]*model.MessageExport, error)

func (*RetryLayerComplianceStore) Save

func (*RetryLayerComplianceStore) Update

func (s *RetryLayerComplianceStore) Update(compliance *model.Compliance) (*model.Compliance, error)

type RetryLayerEmojiStore

type RetryLayerEmojiStore struct {
	store.EmojiStore
	Root *RetryLayer
}

func (*RetryLayerEmojiStore) Delete

func (s *RetryLayerEmojiStore) Delete(emoji *model.Emoji, time int64) error

func (*RetryLayerEmojiStore) Get

func (s *RetryLayerEmojiStore) Get(id string, allowFromCache bool) (*model.Emoji, error)

func (*RetryLayerEmojiStore) GetByName

func (s *RetryLayerEmojiStore) GetByName(name string, allowFromCache bool) (*model.Emoji, error)

func (*RetryLayerEmojiStore) GetList

func (s *RetryLayerEmojiStore) GetList(offset int, limit int, sort string) ([]*model.Emoji, error)

func (*RetryLayerEmojiStore) GetMultipleByName

func (s *RetryLayerEmojiStore) GetMultipleByName(names []string) ([]*model.Emoji, error)

func (*RetryLayerEmojiStore) Save

func (s *RetryLayerEmojiStore) Save(emoji *model.Emoji) (*model.Emoji, error)

func (*RetryLayerEmojiStore) Search

func (s *RetryLayerEmojiStore) Search(name string, prefixOnly bool, limit int) ([]*model.Emoji, error)

type RetryLayerFileInfoStore

type RetryLayerFileInfoStore struct {
	store.FileInfoStore
	Root *RetryLayer
}

func (*RetryLayerFileInfoStore) AttachToPost

func (s *RetryLayerFileInfoStore) AttachToPost(fileId string, postId string, creatorId string) error

func (*RetryLayerFileInfoStore) ClearCaches

func (s *RetryLayerFileInfoStore) ClearCaches()

func (*RetryLayerFileInfoStore) DeleteForPost

func (s *RetryLayerFileInfoStore) DeleteForPost(postId string) (string, error)

func (*RetryLayerFileInfoStore) Get

func (*RetryLayerFileInfoStore) GetByIds

func (s *RetryLayerFileInfoStore) GetByIds(ids []string) ([]*model.FileInfo, error)

func (*RetryLayerFileInfoStore) GetByPath

func (s *RetryLayerFileInfoStore) GetByPath(path string) (*model.FileInfo, error)

func (*RetryLayerFileInfoStore) GetForPost

func (s *RetryLayerFileInfoStore) GetForPost(postId string, readFromMaster bool, includeDeleted bool, allowFromCache bool) ([]*model.FileInfo, error)

func (*RetryLayerFileInfoStore) GetForUser

func (s *RetryLayerFileInfoStore) GetForUser(userId string) ([]*model.FileInfo, error)

func (*RetryLayerFileInfoStore) GetWithOptions

func (s *RetryLayerFileInfoStore) GetWithOptions(page int, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, error)

func (*RetryLayerFileInfoStore) InvalidateFileInfosForPostCache

func (s *RetryLayerFileInfoStore) InvalidateFileInfosForPostCache(postId string, deleted bool)

func (*RetryLayerFileInfoStore) PermanentDelete

func (s *RetryLayerFileInfoStore) PermanentDelete(fileId string) error

func (*RetryLayerFileInfoStore) PermanentDeleteBatch

func (s *RetryLayerFileInfoStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)

func (*RetryLayerFileInfoStore) PermanentDeleteByUser

func (s *RetryLayerFileInfoStore) PermanentDeleteByUser(userId string) (int64, error)

func (*RetryLayerFileInfoStore) Save

func (*RetryLayerFileInfoStore) Search

func (s *RetryLayerFileInfoStore) Search(paramsList []*model.SearchParams, userId string, teamId string, page int, perPage int) (*model.FileInfoList, error)

func (*RetryLayerFileInfoStore) SetContent

func (s *RetryLayerFileInfoStore) SetContent(fileId string, content string) error

func (*RetryLayerFileInfoStore) Upsert

type RetryLayerGroupStore

type RetryLayerGroupStore struct {
	store.GroupStore
	Root *RetryLayer
}

func (*RetryLayerGroupStore) AdminRoleGroupsForSyncableMember

func (s *RetryLayerGroupStore) AdminRoleGroupsForSyncableMember(userID string, syncableID string, syncableType model.GroupSyncableType) ([]string, error)

func (*RetryLayerGroupStore) ChannelMembersMinusGroupMembers

func (s *RetryLayerGroupStore) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, error)

func (*RetryLayerGroupStore) ChannelMembersToAdd

func (s *RetryLayerGroupStore) ChannelMembersToAdd(since int64, channelID *string) ([]*model.UserChannelIDPair, error)

func (*RetryLayerGroupStore) ChannelMembersToRemove

func (s *RetryLayerGroupStore) ChannelMembersToRemove(channelID *string) ([]*model.ChannelMember, error)

func (*RetryLayerGroupStore) CountChannelMembersMinusGroupMembers

func (s *RetryLayerGroupStore) CountChannelMembersMinusGroupMembers(channelID string, groupIDs []string) (int64, error)

func (*RetryLayerGroupStore) CountGroupsByChannel

func (s *RetryLayerGroupStore) CountGroupsByChannel(channelId string, opts model.GroupSearchOpts) (int64, error)

func (*RetryLayerGroupStore) CountGroupsByTeam

func (s *RetryLayerGroupStore) CountGroupsByTeam(teamId string, opts model.GroupSearchOpts) (int64, error)

func (*RetryLayerGroupStore) CountTeamMembersMinusGroupMembers

func (s *RetryLayerGroupStore) CountTeamMembersMinusGroupMembers(teamID string, groupIDs []string) (int64, error)

func (*RetryLayerGroupStore) Create

func (s *RetryLayerGroupStore) Create(group *model.Group) (*model.Group, error)

func (*RetryLayerGroupStore) CreateGroupSyncable

func (s *RetryLayerGroupStore) CreateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, error)

func (*RetryLayerGroupStore) Delete

func (s *RetryLayerGroupStore) Delete(groupID string) (*model.Group, error)

func (*RetryLayerGroupStore) DeleteGroupSyncable

func (s *RetryLayerGroupStore) DeleteGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, error)

func (*RetryLayerGroupStore) DeleteMember

func (s *RetryLayerGroupStore) DeleteMember(groupID string, userID string) (*model.GroupMember, error)

func (*RetryLayerGroupStore) DistinctGroupMemberCount

func (s *RetryLayerGroupStore) DistinctGroupMemberCount() (int64, error)

func (*RetryLayerGroupStore) Get

func (s *RetryLayerGroupStore) Get(groupID string) (*model.Group, error)

func (*RetryLayerGroupStore) GetAllBySource

func (s *RetryLayerGroupStore) GetAllBySource(groupSource model.GroupSource) ([]*model.Group, error)

func (*RetryLayerGroupStore) GetAllGroupSyncablesByGroupId

func (s *RetryLayerGroupStore) GetAllGroupSyncablesByGroupId(groupID string, syncableType model.GroupSyncableType) ([]*model.GroupSyncable, error)

func (*RetryLayerGroupStore) GetByIDs

func (s *RetryLayerGroupStore) GetByIDs(groupIDs []string) ([]*model.Group, error)

func (*RetryLayerGroupStore) GetByName

func (s *RetryLayerGroupStore) GetByName(name string, opts model.GroupSearchOpts) (*model.Group, error)

func (*RetryLayerGroupStore) GetByRemoteID

func (s *RetryLayerGroupStore) GetByRemoteID(remoteID string, groupSource model.GroupSource) (*model.Group, error)

func (*RetryLayerGroupStore) GetByUser

func (s *RetryLayerGroupStore) GetByUser(userId string) ([]*model.Group, error)

func (*RetryLayerGroupStore) GetGroupSyncable

func (s *RetryLayerGroupStore) GetGroupSyncable(groupID string, syncableID string, syncableType model.GroupSyncableType) (*model.GroupSyncable, error)

func (*RetryLayerGroupStore) GetGroups

func (s *RetryLayerGroupStore) GetGroups(page int, perPage int, opts model.GroupSearchOpts) ([]*model.Group, error)

func (*RetryLayerGroupStore) GetGroupsAssociatedToChannelsByTeam

func (s *RetryLayerGroupStore) GetGroupsAssociatedToChannelsByTeam(teamId string, opts model.GroupSearchOpts) (map[string][]*model.GroupWithSchemeAdmin, error)

func (*RetryLayerGroupStore) GetGroupsByChannel

func (s *RetryLayerGroupStore) GetGroupsByChannel(channelId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, error)

func (*RetryLayerGroupStore) GetGroupsByTeam

func (s *RetryLayerGroupStore) GetGroupsByTeam(teamId string, opts model.GroupSearchOpts) ([]*model.GroupWithSchemeAdmin, error)

func (*RetryLayerGroupStore) GetMemberCount

func (s *RetryLayerGroupStore) GetMemberCount(groupID string) (int64, error)

func (*RetryLayerGroupStore) GetMemberUsers

func (s *RetryLayerGroupStore) GetMemberUsers(groupID string) ([]*model.User, error)

func (*RetryLayerGroupStore) GetMemberUsersInTeam

func (s *RetryLayerGroupStore) GetMemberUsersInTeam(groupID string, teamID string) ([]*model.User, error)

func (*RetryLayerGroupStore) GetMemberUsersNotInChannel

func (s *RetryLayerGroupStore) GetMemberUsersNotInChannel(groupID string, channelID string) ([]*model.User, error)

func (*RetryLayerGroupStore) GetMemberUsersPage

func (s *RetryLayerGroupStore) GetMemberUsersPage(groupID string, page int, perPage int) ([]*model.User, error)

func (*RetryLayerGroupStore) GroupChannelCount

func (s *RetryLayerGroupStore) GroupChannelCount() (int64, error)

func (*RetryLayerGroupStore) GroupCount

func (s *RetryLayerGroupStore) GroupCount() (int64, error)

func (*RetryLayerGroupStore) GroupCountWithAllowReference

func (s *RetryLayerGroupStore) GroupCountWithAllowReference() (int64, error)

func (*RetryLayerGroupStore) GroupMemberCount

func (s *RetryLayerGroupStore) GroupMemberCount() (int64, error)

func (*RetryLayerGroupStore) GroupTeamCount

func (s *RetryLayerGroupStore) GroupTeamCount() (int64, error)

func (*RetryLayerGroupStore) PermanentDeleteMembersByUser

func (s *RetryLayerGroupStore) PermanentDeleteMembersByUser(userId string) error

func (*RetryLayerGroupStore) PermittedSyncableAdmins

func (s *RetryLayerGroupStore) PermittedSyncableAdmins(syncableID string, syncableType model.GroupSyncableType) ([]string, error)

func (*RetryLayerGroupStore) TeamMembersMinusGroupMembers

func (s *RetryLayerGroupStore) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page int, perPage int) ([]*model.UserWithGroups, error)

func (*RetryLayerGroupStore) TeamMembersToAdd

func (s *RetryLayerGroupStore) TeamMembersToAdd(since int64, teamID *string) ([]*model.UserTeamIDPair, error)

func (*RetryLayerGroupStore) TeamMembersToRemove

func (s *RetryLayerGroupStore) TeamMembersToRemove(teamID *string) ([]*model.TeamMember, error)

func (*RetryLayerGroupStore) Update

func (s *RetryLayerGroupStore) Update(group *model.Group) (*model.Group, error)

func (*RetryLayerGroupStore) UpdateGroupSyncable

func (s *RetryLayerGroupStore) UpdateGroupSyncable(groupSyncable *model.GroupSyncable) (*model.GroupSyncable, error)

func (*RetryLayerGroupStore) UpsertMember

func (s *RetryLayerGroupStore) UpsertMember(groupID string, userID string) (*model.GroupMember, error)

type RetryLayerJobStore

type RetryLayerJobStore struct {
	store.JobStore
	Root *RetryLayer
}

func (*RetryLayerJobStore) Delete

func (s *RetryLayerJobStore) Delete(id string) (string, error)

func (*RetryLayerJobStore) Get

func (s *RetryLayerJobStore) Get(id string) (*model.Job, error)

func (*RetryLayerJobStore) GetAllByStatus

func (s *RetryLayerJobStore) GetAllByStatus(status string) ([]*model.Job, error)

func (*RetryLayerJobStore) GetAllByType

func (s *RetryLayerJobStore) GetAllByType(jobType string) ([]*model.Job, error)

func (*RetryLayerJobStore) GetAllByTypePage

func (s *RetryLayerJobStore) GetAllByTypePage(jobType string, offset int, limit int) ([]*model.Job, error)

func (*RetryLayerJobStore) GetAllPage

func (s *RetryLayerJobStore) GetAllPage(offset int, limit int) ([]*model.Job, error)

func (*RetryLayerJobStore) GetCountByStatusAndType

func (s *RetryLayerJobStore) GetCountByStatusAndType(status string, jobType string) (int64, error)

func (*RetryLayerJobStore) GetNewestJobByStatusAndType

func (s *RetryLayerJobStore) GetNewestJobByStatusAndType(status string, jobType string) (*model.Job, error)

func (*RetryLayerJobStore) GetNewestJobByStatusesAndType

func (s *RetryLayerJobStore) GetNewestJobByStatusesAndType(statuses []string, jobType string) (*model.Job, error)

func (*RetryLayerJobStore) Save

func (s *RetryLayerJobStore) Save(job *model.Job) (*model.Job, error)

func (*RetryLayerJobStore) UpdateOptimistically

func (s *RetryLayerJobStore) UpdateOptimistically(job *model.Job, currentStatus string) (bool, error)

func (*RetryLayerJobStore) UpdateStatus

func (s *RetryLayerJobStore) UpdateStatus(id string, status string) (*model.Job, error)

func (*RetryLayerJobStore) UpdateStatusOptimistically

func (s *RetryLayerJobStore) UpdateStatusOptimistically(id string, currentStatus string, newStatus string) (bool, error)

type RetryLayerLicenseStore

type RetryLayerLicenseStore struct {
	store.LicenseStore
	Root *RetryLayer
}

func (*RetryLayerLicenseStore) Get

func (*RetryLayerLicenseStore) Save

type RetryLayerLinkMetadataStore

type RetryLayerLinkMetadataStore struct {
	store.LinkMetadataStore
	Root *RetryLayer
}

func (*RetryLayerLinkMetadataStore) Get

func (s *RetryLayerLinkMetadataStore) Get(url string, timestamp int64) (*model.LinkMetadata, error)

func (*RetryLayerLinkMetadataStore) Save

type RetryLayerOAuthStore

type RetryLayerOAuthStore struct {
	store.OAuthStore
	Root *RetryLayer
}

func (*RetryLayerOAuthStore) DeleteApp

func (s *RetryLayerOAuthStore) DeleteApp(id string) error

func (*RetryLayerOAuthStore) GetAccessData

func (s *RetryLayerOAuthStore) GetAccessData(token string) (*model.AccessData, error)

func (*RetryLayerOAuthStore) GetAccessDataByRefreshToken

func (s *RetryLayerOAuthStore) GetAccessDataByRefreshToken(token string) (*model.AccessData, error)

func (*RetryLayerOAuthStore) GetAccessDataByUserForApp

func (s *RetryLayerOAuthStore) GetAccessDataByUserForApp(userId string, clientId string) ([]*model.AccessData, error)

func (*RetryLayerOAuthStore) GetApp

func (s *RetryLayerOAuthStore) GetApp(id string) (*model.OAuthApp, error)

func (*RetryLayerOAuthStore) GetAppByUser

func (s *RetryLayerOAuthStore) GetAppByUser(userId string, offset int, limit int) ([]*model.OAuthApp, error)

func (*RetryLayerOAuthStore) GetApps

func (s *RetryLayerOAuthStore) GetApps(offset int, limit int) ([]*model.OAuthApp, error)

func (*RetryLayerOAuthStore) GetAuthData

func (s *RetryLayerOAuthStore) GetAuthData(code string) (*model.AuthData, error)

func (*RetryLayerOAuthStore) GetAuthorizedApps

func (s *RetryLayerOAuthStore) GetAuthorizedApps(userId string, offset int, limit int) ([]*model.OAuthApp, error)

func (*RetryLayerOAuthStore) GetPreviousAccessData

func (s *RetryLayerOAuthStore) GetPreviousAccessData(userId string, clientId string) (*model.AccessData, error)

func (*RetryLayerOAuthStore) PermanentDeleteAuthDataByUser

func (s *RetryLayerOAuthStore) PermanentDeleteAuthDataByUser(userId string) error

func (*RetryLayerOAuthStore) RemoveAccessData

func (s *RetryLayerOAuthStore) RemoveAccessData(token string) error

func (*RetryLayerOAuthStore) RemoveAllAccessData

func (s *RetryLayerOAuthStore) RemoveAllAccessData() error

func (*RetryLayerOAuthStore) RemoveAuthData

func (s *RetryLayerOAuthStore) RemoveAuthData(code string) error

func (*RetryLayerOAuthStore) SaveAccessData

func (s *RetryLayerOAuthStore) SaveAccessData(accessData *model.AccessData) (*model.AccessData, error)

func (*RetryLayerOAuthStore) SaveApp

func (s *RetryLayerOAuthStore) SaveApp(app *model.OAuthApp) (*model.OAuthApp, error)

func (*RetryLayerOAuthStore) SaveAuthData

func (s *RetryLayerOAuthStore) SaveAuthData(authData *model.AuthData) (*model.AuthData, error)

func (*RetryLayerOAuthStore) UpdateAccessData

func (s *RetryLayerOAuthStore) UpdateAccessData(accessData *model.AccessData) (*model.AccessData, error)

func (*RetryLayerOAuthStore) UpdateApp

func (s *RetryLayerOAuthStore) UpdateApp(app *model.OAuthApp) (*model.OAuthApp, error)

type RetryLayerPluginStore

type RetryLayerPluginStore struct {
	store.PluginStore
	Root *RetryLayer
}

func (*RetryLayerPluginStore) CompareAndDelete

func (s *RetryLayerPluginStore) CompareAndDelete(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)

func (*RetryLayerPluginStore) CompareAndSet

func (s *RetryLayerPluginStore) CompareAndSet(keyVal *model.PluginKeyValue, oldValue []byte) (bool, error)

func (*RetryLayerPluginStore) Delete

func (s *RetryLayerPluginStore) Delete(pluginId string, key string) error

func (*RetryLayerPluginStore) DeleteAllExpired

func (s *RetryLayerPluginStore) DeleteAllExpired() error

func (*RetryLayerPluginStore) DeleteAllForPlugin

func (s *RetryLayerPluginStore) DeleteAllForPlugin(PluginId string) error

func (*RetryLayerPluginStore) Get

func (s *RetryLayerPluginStore) Get(pluginId string, key string) (*model.PluginKeyValue, error)

func (*RetryLayerPluginStore) List

func (s *RetryLayerPluginStore) List(pluginId string, page int, perPage int) ([]string, error)

func (*RetryLayerPluginStore) SaveOrUpdate

func (s *RetryLayerPluginStore) SaveOrUpdate(keyVal *model.PluginKeyValue) (*model.PluginKeyValue, error)

func (*RetryLayerPluginStore) SetWithOptions

func (s *RetryLayerPluginStore) SetWithOptions(pluginId string, key string, value []byte, options model.PluginKVSetOptions) (bool, error)

type RetryLayerPostStore

type RetryLayerPostStore struct {
	store.PostStore
	Root *RetryLayer
}

func (*RetryLayerPostStore) AnalyticsPostCount

func (s *RetryLayerPostStore) AnalyticsPostCount(teamId string, mustHaveFile bool, mustHaveHashtag bool) (int64, error)

func (*RetryLayerPostStore) AnalyticsPostCountsByDay

func (s *RetryLayerPostStore) AnalyticsPostCountsByDay(options *model.AnalyticsPostCountsOptions) (model.AnalyticsRows, error)

func (*RetryLayerPostStore) AnalyticsUserCountsWithPostsByDay

func (s *RetryLayerPostStore) AnalyticsUserCountsWithPostsByDay(teamId string) (model.AnalyticsRows, error)

func (*RetryLayerPostStore) ClearCaches

func (s *RetryLayerPostStore) ClearCaches()

func (*RetryLayerPostStore) Delete

func (s *RetryLayerPostStore) Delete(postId string, time int64, deleteByID string) error

func (*RetryLayerPostStore) Get

func (s *RetryLayerPostStore) Get(id string, skipFetchThreads bool, collapsedThreads bool, collapsedThreadsExtended bool) (*model.PostList, error)

func (*RetryLayerPostStore) GetDirectPostParentsForExportAfter

func (s *RetryLayerPostStore) GetDirectPostParentsForExportAfter(limit int, afterId string) ([]*model.DirectPostForExport, error)

func (*RetryLayerPostStore) GetEtag

func (s *RetryLayerPostStore) GetEtag(channelId string, allowFromCache bool, collapsedThreads bool) string

func (*RetryLayerPostStore) GetFlaggedPosts

func (s *RetryLayerPostStore) GetFlaggedPosts(userId string, offset int, limit int) (*model.PostList, error)

func (*RetryLayerPostStore) GetFlaggedPostsForChannel

func (s *RetryLayerPostStore) GetFlaggedPostsForChannel(userId string, channelId string, offset int, limit int) (*model.PostList, error)

func (*RetryLayerPostStore) GetFlaggedPostsForTeam

func (s *RetryLayerPostStore) GetFlaggedPostsForTeam(userId string, teamId string, offset int, limit int) (*model.PostList, error)

func (*RetryLayerPostStore) GetMaxPostSize

func (s *RetryLayerPostStore) GetMaxPostSize() int

func (*RetryLayerPostStore) GetOldest

func (s *RetryLayerPostStore) GetOldest() (*model.Post, error)

func (*RetryLayerPostStore) GetOldestEntityCreationTime

func (s *RetryLayerPostStore) GetOldestEntityCreationTime() (int64, error)

func (*RetryLayerPostStore) GetParentsForExportAfter

func (s *RetryLayerPostStore) GetParentsForExportAfter(limit int, afterId string) ([]*model.PostForExport, error)

func (*RetryLayerPostStore) GetPostAfterTime

func (s *RetryLayerPostStore) GetPostAfterTime(channelId string, time int64) (*model.Post, error)

func (*RetryLayerPostStore) GetPostIdAfterTime

func (s *RetryLayerPostStore) GetPostIdAfterTime(channelId string, time int64) (string, error)

func (*RetryLayerPostStore) GetPostIdBeforeTime

func (s *RetryLayerPostStore) GetPostIdBeforeTime(channelId string, time int64) (string, error)

func (*RetryLayerPostStore) GetPosts

func (s *RetryLayerPostStore) GetPosts(options model.GetPostsOptions, allowFromCache bool) (*model.PostList, error)

func (*RetryLayerPostStore) GetPostsAfter

func (s *RetryLayerPostStore) GetPostsAfter(options model.GetPostsOptions) (*model.PostList, error)

func (*RetryLayerPostStore) GetPostsBatchForIndexing

func (s *RetryLayerPostStore) GetPostsBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.PostForIndexing, error)

func (*RetryLayerPostStore) GetPostsBefore

func (s *RetryLayerPostStore) GetPostsBefore(options model.GetPostsOptions) (*model.PostList, error)

func (*RetryLayerPostStore) GetPostsByIds

func (s *RetryLayerPostStore) GetPostsByIds(postIds []string) ([]*model.Post, error)

func (*RetryLayerPostStore) GetPostsCreatedAt

func (s *RetryLayerPostStore) GetPostsCreatedAt(channelId string, time int64) ([]*model.Post, error)

func (*RetryLayerPostStore) GetPostsSince

func (s *RetryLayerPostStore) GetPostsSince(options model.GetPostsSinceOptions, allowFromCache bool) (*model.PostList, error)

func (*RetryLayerPostStore) GetRepliesForExport

func (s *RetryLayerPostStore) GetRepliesForExport(parentId string) ([]*model.ReplyForExport, error)

func (*RetryLayerPostStore) GetSingle

func (s *RetryLayerPostStore) GetSingle(id string) (*model.Post, error)

func (*RetryLayerPostStore) InvalidateLastPostTimeCache

func (s *RetryLayerPostStore) InvalidateLastPostTimeCache(channelId string)

func (*RetryLayerPostStore) Overwrite

func (s *RetryLayerPostStore) Overwrite(post *model.Post) (*model.Post, error)

func (*RetryLayerPostStore) OverwriteMultiple

func (s *RetryLayerPostStore) OverwriteMultiple(posts []*model.Post) ([]*model.Post, int, error)

func (*RetryLayerPostStore) PermanentDeleteBatch

func (s *RetryLayerPostStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)

func (*RetryLayerPostStore) PermanentDeleteByChannel

func (s *RetryLayerPostStore) PermanentDeleteByChannel(channelId string) error

func (*RetryLayerPostStore) PermanentDeleteByUser

func (s *RetryLayerPostStore) PermanentDeleteByUser(userId string) error

func (*RetryLayerPostStore) Save

func (s *RetryLayerPostStore) Save(post *model.Post) (*model.Post, error)

func (*RetryLayerPostStore) SaveMultiple

func (s *RetryLayerPostStore) SaveMultiple(posts []*model.Post) ([]*model.Post, int, error)

func (*RetryLayerPostStore) Search

func (s *RetryLayerPostStore) Search(teamId string, userId string, params *model.SearchParams) (*model.PostList, error)

func (*RetryLayerPostStore) SearchPostsInTeamForUser

func (s *RetryLayerPostStore) SearchPostsInTeamForUser(paramsList []*model.SearchParams, userId string, teamId string, page int, perPage int) (*model.PostSearchResults, error)

func (*RetryLayerPostStore) Update

func (s *RetryLayerPostStore) Update(newPost *model.Post, oldPost *model.Post) (*model.Post, error)

type RetryLayerPreferenceStore

type RetryLayerPreferenceStore struct {
	store.PreferenceStore
	Root *RetryLayer
}

func (*RetryLayerPreferenceStore) CleanupFlagsBatch

func (s *RetryLayerPreferenceStore) CleanupFlagsBatch(limit int64) (int64, error)

func (*RetryLayerPreferenceStore) Delete

func (s *RetryLayerPreferenceStore) Delete(userId string, category string, name string) error

func (*RetryLayerPreferenceStore) DeleteCategory

func (s *RetryLayerPreferenceStore) DeleteCategory(userId string, category string) error

func (*RetryLayerPreferenceStore) DeleteCategoryAndName

func (s *RetryLayerPreferenceStore) DeleteCategoryAndName(category string, name string) error

func (*RetryLayerPreferenceStore) Get

func (s *RetryLayerPreferenceStore) Get(userId string, category string, name string) (*model.Preference, error)

func (*RetryLayerPreferenceStore) GetAll

func (*RetryLayerPreferenceStore) GetCategory

func (s *RetryLayerPreferenceStore) GetCategory(userId string, category string) (model.Preferences, error)

func (*RetryLayerPreferenceStore) PermanentDeleteByUser

func (s *RetryLayerPreferenceStore) PermanentDeleteByUser(userId string) error

func (*RetryLayerPreferenceStore) Save

func (s *RetryLayerPreferenceStore) Save(preferences *model.Preferences) error

type RetryLayerProductNoticesStore

type RetryLayerProductNoticesStore struct {
	store.ProductNoticesStore
	Root *RetryLayer
}

func (*RetryLayerProductNoticesStore) Clear

func (s *RetryLayerProductNoticesStore) Clear(notices []string) error

func (*RetryLayerProductNoticesStore) ClearOldNotices

func (s *RetryLayerProductNoticesStore) ClearOldNotices(currentNotices *model.ProductNotices) error

func (*RetryLayerProductNoticesStore) GetViews

func (*RetryLayerProductNoticesStore) View

func (s *RetryLayerProductNoticesStore) View(userId string, notices []string) error

type RetryLayerReactionStore

type RetryLayerReactionStore struct {
	store.ReactionStore
	Root *RetryLayer
}

func (*RetryLayerReactionStore) BulkGetForPosts

func (s *RetryLayerReactionStore) BulkGetForPosts(postIds []string) ([]*model.Reaction, error)

func (*RetryLayerReactionStore) Delete

func (s *RetryLayerReactionStore) Delete(reaction *model.Reaction) (*model.Reaction, error)

func (*RetryLayerReactionStore) DeleteAllWithEmojiName

func (s *RetryLayerReactionStore) DeleteAllWithEmojiName(emojiName string) error

func (*RetryLayerReactionStore) GetForPost

func (s *RetryLayerReactionStore) GetForPost(postId string, allowFromCache bool) ([]*model.Reaction, error)

func (*RetryLayerReactionStore) PermanentDeleteBatch

func (s *RetryLayerReactionStore) PermanentDeleteBatch(endTime int64, limit int64) (int64, error)

func (*RetryLayerReactionStore) Save

func (s *RetryLayerReactionStore) Save(reaction *model.Reaction) (*model.Reaction, error)

type RetryLayerRoleStore

type RetryLayerRoleStore struct {
	store.RoleStore
	Root *RetryLayer
}

func (*RetryLayerRoleStore) AllChannelSchemeRoles

func (s *RetryLayerRoleStore) AllChannelSchemeRoles() ([]*model.Role, error)

func (*RetryLayerRoleStore) ChannelHigherScopedPermissions

func (s *RetryLayerRoleStore) ChannelHigherScopedPermissions(roleNames []string) (map[string]*model.RolePermissions, error)

func (*RetryLayerRoleStore) ChannelRolesUnderTeamRole

func (s *RetryLayerRoleStore) ChannelRolesUnderTeamRole(roleName string) ([]*model.Role, error)

func (*RetryLayerRoleStore) Delete

func (s *RetryLayerRoleStore) Delete(roleId string) (*model.Role, error)

func (*RetryLayerRoleStore) Get

func (s *RetryLayerRoleStore) Get(roleId string) (*model.Role, error)

func (*RetryLayerRoleStore) GetAll

func (s *RetryLayerRoleStore) GetAll() ([]*model.Role, error)

func (*RetryLayerRoleStore) GetByName

func (s *RetryLayerRoleStore) GetByName(name string) (*model.Role, error)

func (*RetryLayerRoleStore) GetByNames

func (s *RetryLayerRoleStore) GetByNames(names []string) ([]*model.Role, error)

func (*RetryLayerRoleStore) PermanentDeleteAll

func (s *RetryLayerRoleStore) PermanentDeleteAll() error

func (*RetryLayerRoleStore) Save

func (s *RetryLayerRoleStore) Save(role *model.Role) (*model.Role, error)

type RetryLayerSchemeStore

type RetryLayerSchemeStore struct {
	store.SchemeStore
	Root *RetryLayer
}

func (*RetryLayerSchemeStore) CountByScope

func (s *RetryLayerSchemeStore) CountByScope(scope string) (int64, error)

func (*RetryLayerSchemeStore) CountWithoutPermission

func (s *RetryLayerSchemeStore) CountWithoutPermission(scope string, permissionID string, roleScope model.RoleScope, roleType model.RoleType) (int64, error)

func (*RetryLayerSchemeStore) Delete

func (s *RetryLayerSchemeStore) Delete(schemeId string) (*model.Scheme, error)

func (*RetryLayerSchemeStore) Get

func (s *RetryLayerSchemeStore) Get(schemeId string) (*model.Scheme, error)

func (*RetryLayerSchemeStore) GetAllPage

func (s *RetryLayerSchemeStore) GetAllPage(scope string, offset int, limit int) ([]*model.Scheme, error)

func (*RetryLayerSchemeStore) GetByName

func (s *RetryLayerSchemeStore) GetByName(schemeName string) (*model.Scheme, error)

func (*RetryLayerSchemeStore) PermanentDeleteAll

func (s *RetryLayerSchemeStore) PermanentDeleteAll() error

func (*RetryLayerSchemeStore) Save

func (s *RetryLayerSchemeStore) Save(scheme *model.Scheme) (*model.Scheme, error)

type RetryLayerSessionStore

type RetryLayerSessionStore struct {
	store.SessionStore
	Root *RetryLayer
}

func (*RetryLayerSessionStore) AnalyticsSessionCount

func (s *RetryLayerSessionStore) AnalyticsSessionCount() (int64, error)

func (*RetryLayerSessionStore) Cleanup

func (s *RetryLayerSessionStore) Cleanup(expiryTime int64, batchSize int64)

func (*RetryLayerSessionStore) Get

func (s *RetryLayerSessionStore) Get(sessionIdOrToken string) (*model.Session, error)

func (*RetryLayerSessionStore) GetSessions

func (s *RetryLayerSessionStore) GetSessions(userId string) ([]*model.Session, error)

func (*RetryLayerSessionStore) GetSessionsExpired

func (s *RetryLayerSessionStore) GetSessionsExpired(thresholdMillis int64, mobileOnly bool, unnotifiedOnly bool) ([]*model.Session, error)

func (*RetryLayerSessionStore) GetSessionsWithActiveDeviceIds

func (s *RetryLayerSessionStore) GetSessionsWithActiveDeviceIds(userId string) ([]*model.Session, error)

func (*RetryLayerSessionStore) PermanentDeleteSessionsByUser

func (s *RetryLayerSessionStore) PermanentDeleteSessionsByUser(teamId string) error

func (*RetryLayerSessionStore) Remove

func (s *RetryLayerSessionStore) Remove(sessionIdOrToken string) error

func (*RetryLayerSessionStore) RemoveAllSessions

func (s *RetryLayerSessionStore) RemoveAllSessions() error

func (*RetryLayerSessionStore) Save

func (s *RetryLayerSessionStore) Save(session *model.Session) (*model.Session, error)

func (*RetryLayerSessionStore) UpdateDeviceId

func (s *RetryLayerSessionStore) UpdateDeviceId(id string, deviceId string, expiresAt int64) (string, error)

func (*RetryLayerSessionStore) UpdateExpiredNotify

func (s *RetryLayerSessionStore) UpdateExpiredNotify(sessionid string, notified bool) error

func (*RetryLayerSessionStore) UpdateExpiresAt

func (s *RetryLayerSessionStore) UpdateExpiresAt(sessionId string, time int64) error

func (*RetryLayerSessionStore) UpdateLastActivityAt

func (s *RetryLayerSessionStore) UpdateLastActivityAt(sessionId string, time int64) error

func (*RetryLayerSessionStore) UpdateProps

func (s *RetryLayerSessionStore) UpdateProps(session *model.Session) error

func (*RetryLayerSessionStore) UpdateRoles

func (s *RetryLayerSessionStore) UpdateRoles(userId string, roles string) (string, error)

type RetryLayerStatusStore

type RetryLayerStatusStore struct {
	store.StatusStore
	Root *RetryLayer
}

func (*RetryLayerStatusStore) Get

func (s *RetryLayerStatusStore) Get(userId string) (*model.Status, error)

func (*RetryLayerStatusStore) GetByIds

func (s *RetryLayerStatusStore) GetByIds(userIds []string) ([]*model.Status, error)

func (*RetryLayerStatusStore) GetTotalActiveUsersCount

func (s *RetryLayerStatusStore) GetTotalActiveUsersCount() (int64, error)

func (*RetryLayerStatusStore) ResetAll

func (s *RetryLayerStatusStore) ResetAll() error

func (*RetryLayerStatusStore) SaveOrUpdate

func (s *RetryLayerStatusStore) SaveOrUpdate(status *model.Status) error

func (*RetryLayerStatusStore) UpdateLastActivityAt

func (s *RetryLayerStatusStore) UpdateLastActivityAt(userId string, lastActivityAt int64) error

type RetryLayerSystemStore

type RetryLayerSystemStore struct {
	store.SystemStore
	Root *RetryLayer
}

func (*RetryLayerSystemStore) Get

func (*RetryLayerSystemStore) GetByName

func (s *RetryLayerSystemStore) GetByName(name string) (*model.System, error)

func (*RetryLayerSystemStore) InsertIfExists

func (s *RetryLayerSystemStore) InsertIfExists(system *model.System) (*model.System, error)

func (*RetryLayerSystemStore) PermanentDeleteByName

func (s *RetryLayerSystemStore) PermanentDeleteByName(name string) (*model.System, error)

func (*RetryLayerSystemStore) Save

func (s *RetryLayerSystemStore) Save(system *model.System) error

func (*RetryLayerSystemStore) SaveOrUpdate

func (s *RetryLayerSystemStore) SaveOrUpdate(system *model.System) error

func (*RetryLayerSystemStore) SaveOrUpdateWithWarnMetricHandling

func (s *RetryLayerSystemStore) SaveOrUpdateWithWarnMetricHandling(system *model.System) error

func (*RetryLayerSystemStore) Update

func (s *RetryLayerSystemStore) Update(system *model.System) error

type RetryLayerTeamStore

type RetryLayerTeamStore struct {
	store.TeamStore
	Root *RetryLayer
}

func (*RetryLayerTeamStore) AnalyticsGetTeamCountForScheme

func (s *RetryLayerTeamStore) AnalyticsGetTeamCountForScheme(schemeId string) (int64, error)

func (*RetryLayerTeamStore) AnalyticsPrivateTeamCount

func (s *RetryLayerTeamStore) AnalyticsPrivateTeamCount() (int64, error)

func (*RetryLayerTeamStore) AnalyticsPublicTeamCount

func (s *RetryLayerTeamStore) AnalyticsPublicTeamCount() (int64, error)

func (*RetryLayerTeamStore) AnalyticsTeamCount

func (s *RetryLayerTeamStore) AnalyticsTeamCount(includeDeleted bool) (int64, error)

func (*RetryLayerTeamStore) ClearAllCustomRoleAssignments

func (s *RetryLayerTeamStore) ClearAllCustomRoleAssignments() error

func (*RetryLayerTeamStore) ClearCaches

func (s *RetryLayerTeamStore) ClearCaches()

func (*RetryLayerTeamStore) Get

func (s *RetryLayerTeamStore) Get(id string) (*model.Team, error)

func (*RetryLayerTeamStore) GetActiveMemberCount

func (s *RetryLayerTeamStore) GetActiveMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, error)

func (*RetryLayerTeamStore) GetAll

func (s *RetryLayerTeamStore) GetAll() ([]*model.Team, error)

func (*RetryLayerTeamStore) GetAllForExportAfter

func (s *RetryLayerTeamStore) GetAllForExportAfter(limit int, afterId string) ([]*model.TeamForExport, error)

func (*RetryLayerTeamStore) GetAllPage

func (s *RetryLayerTeamStore) GetAllPage(offset int, limit int) ([]*model.Team, error)

func (*RetryLayerTeamStore) GetAllPrivateTeamListing

func (s *RetryLayerTeamStore) GetAllPrivateTeamListing() ([]*model.Team, error)

func (*RetryLayerTeamStore) GetAllPrivateTeamPageListing

func (s *RetryLayerTeamStore) GetAllPrivateTeamPageListing(offset int, limit int) ([]*model.Team, error)

func (*RetryLayerTeamStore) GetAllPublicTeamPageListing

func (s *RetryLayerTeamStore) GetAllPublicTeamPageListing(offset int, limit int) ([]*model.Team, error)

func (*RetryLayerTeamStore) GetAllTeamListing

func (s *RetryLayerTeamStore) GetAllTeamListing() ([]*model.Team, error)

func (*RetryLayerTeamStore) GetAllTeamPageListing

func (s *RetryLayerTeamStore) GetAllTeamPageListing(offset int, limit int) ([]*model.Team, error)

func (*RetryLayerTeamStore) GetByInviteId

func (s *RetryLayerTeamStore) GetByInviteId(inviteId string) (*model.Team, error)

func (*RetryLayerTeamStore) GetByName

func (s *RetryLayerTeamStore) GetByName(name string) (*model.Team, error)

func (*RetryLayerTeamStore) GetByNames

func (s *RetryLayerTeamStore) GetByNames(name []string) ([]*model.Team, error)

func (*RetryLayerTeamStore) GetChannelUnreadsForAllTeams

func (s *RetryLayerTeamStore) GetChannelUnreadsForAllTeams(excludeTeamId string, userId string) ([]*model.ChannelUnread, error)

func (*RetryLayerTeamStore) GetChannelUnreadsForTeam

func (s *RetryLayerTeamStore) GetChannelUnreadsForTeam(teamId string, userId string) ([]*model.ChannelUnread, error)

func (*RetryLayerTeamStore) GetMember

func (s *RetryLayerTeamStore) GetMember(teamId string, userId string) (*model.TeamMember, error)

func (*RetryLayerTeamStore) GetMembers

func (s *RetryLayerTeamStore) GetMembers(teamId string, offset int, limit int, teamMembersGetOptions *model.TeamMembersGetOptions) ([]*model.TeamMember, error)

func (*RetryLayerTeamStore) GetMembersByIds

func (s *RetryLayerTeamStore) GetMembersByIds(teamId string, userIds []string, restrictions *model.ViewUsersRestrictions) ([]*model.TeamMember, error)

func (*RetryLayerTeamStore) GetTeamMembersForExport

func (s *RetryLayerTeamStore) GetTeamMembersForExport(userId string) ([]*model.TeamMemberForExport, error)

func (*RetryLayerTeamStore) GetTeamsByScheme

func (s *RetryLayerTeamStore) GetTeamsByScheme(schemeId string, offset int, limit int) ([]*model.Team, error)

func (*RetryLayerTeamStore) GetTeamsByUserId

func (s *RetryLayerTeamStore) GetTeamsByUserId(userId string) ([]*model.Team, error)

func (*RetryLayerTeamStore) GetTeamsForUser

func (s *RetryLayerTeamStore) GetTeamsForUser(ctx context.Context, userId string) ([]*model.TeamMember, error)

func (*RetryLayerTeamStore) GetTeamsForUserWithPagination

func (s *RetryLayerTeamStore) GetTeamsForUserWithPagination(userId string, page int, perPage int) ([]*model.TeamMember, error)

func (*RetryLayerTeamStore) GetTotalMemberCount

func (s *RetryLayerTeamStore) GetTotalMemberCount(teamId string, restrictions *model.ViewUsersRestrictions) (int64, error)

func (*RetryLayerTeamStore) GetUserTeamIds

func (s *RetryLayerTeamStore) GetUserTeamIds(userId string, allowFromCache bool) ([]string, error)

func (*RetryLayerTeamStore) GroupSyncedTeamCount

func (s *RetryLayerTeamStore) GroupSyncedTeamCount() (int64, error)

func (*RetryLayerTeamStore) InvalidateAllTeamIdsForUser

func (s *RetryLayerTeamStore) InvalidateAllTeamIdsForUser(userId string)

func (*RetryLayerTeamStore) MigrateTeamMembers

func (s *RetryLayerTeamStore) MigrateTeamMembers(fromTeamId string, fromUserId string) (map[string]string, error)

func (*RetryLayerTeamStore) PermanentDelete

func (s *RetryLayerTeamStore) PermanentDelete(teamId string) error

func (*RetryLayerTeamStore) RemoveAllMembersByTeam

func (s *RetryLayerTeamStore) RemoveAllMembersByTeam(teamId string) error

func (*RetryLayerTeamStore) RemoveAllMembersByUser

func (s *RetryLayerTeamStore) RemoveAllMembersByUser(userId string) error

func (*RetryLayerTeamStore) RemoveMember

func (s *RetryLayerTeamStore) RemoveMember(teamId string, userId string) error

func (*RetryLayerTeamStore) RemoveMembers

func (s *RetryLayerTeamStore) RemoveMembers(teamId string, userIds []string) error

func (*RetryLayerTeamStore) ResetAllTeamSchemes

func (s *RetryLayerTeamStore) ResetAllTeamSchemes() error

func (*RetryLayerTeamStore) Save

func (s *RetryLayerTeamStore) Save(team *model.Team) (*model.Team, error)

func (*RetryLayerTeamStore) SaveMember

func (s *RetryLayerTeamStore) SaveMember(member *model.TeamMember, maxUsersPerTeam int) (*model.TeamMember, error)

func (*RetryLayerTeamStore) SaveMultipleMembers

func (s *RetryLayerTeamStore) SaveMultipleMembers(members []*model.TeamMember, maxUsersPerTeam int) ([]*model.TeamMember, error)

func (*RetryLayerTeamStore) SearchAll

func (s *RetryLayerTeamStore) SearchAll(term string, opts *model.TeamSearch) ([]*model.Team, error)

func (*RetryLayerTeamStore) SearchAllPaged

func (s *RetryLayerTeamStore) SearchAllPaged(term string, opts *model.TeamSearch) ([]*model.Team, int64, error)

func (*RetryLayerTeamStore) SearchOpen

func (s *RetryLayerTeamStore) SearchOpen(term string) ([]*model.Team, error)

func (*RetryLayerTeamStore) SearchPrivate

func (s *RetryLayerTeamStore) SearchPrivate(term string) ([]*model.Team, error)

func (*RetryLayerTeamStore) Update

func (s *RetryLayerTeamStore) Update(team *model.Team) (*model.Team, error)

func (*RetryLayerTeamStore) UpdateLastTeamIconUpdate

func (s *RetryLayerTeamStore) UpdateLastTeamIconUpdate(teamId string, curTime int64) error

func (*RetryLayerTeamStore) UpdateMember

func (s *RetryLayerTeamStore) UpdateMember(member *model.TeamMember) (*model.TeamMember, error)

func (*RetryLayerTeamStore) UpdateMembersRole

func (s *RetryLayerTeamStore) UpdateMembersRole(teamID string, userIDs []string) error

func (*RetryLayerTeamStore) UpdateMultipleMembers

func (s *RetryLayerTeamStore) UpdateMultipleMembers(members []*model.TeamMember) ([]*model.TeamMember, error)

func (*RetryLayerTeamStore) UserBelongsToTeams

func (s *RetryLayerTeamStore) UserBelongsToTeams(userId string, teamIds []string) (bool, error)

type RetryLayerTermsOfServiceStore

type RetryLayerTermsOfServiceStore struct {
	store.TermsOfServiceStore
	Root *RetryLayer
}

func (*RetryLayerTermsOfServiceStore) Get

func (s *RetryLayerTermsOfServiceStore) Get(id string, allowFromCache bool) (*model.TermsOfService, error)

func (*RetryLayerTermsOfServiceStore) GetLatest

func (s *RetryLayerTermsOfServiceStore) GetLatest(allowFromCache bool) (*model.TermsOfService, error)

func (*RetryLayerTermsOfServiceStore) Save

type RetryLayerThreadStore

type RetryLayerThreadStore struct {
	store.ThreadStore
	Root *RetryLayer
}

func (*RetryLayerThreadStore) CollectThreadsWithNewerReplies

func (s *RetryLayerThreadStore) CollectThreadsWithNewerReplies(userId string, channelIds []string, timestamp int64) ([]string, error)

func (*RetryLayerThreadStore) CreateMembershipIfNeeded

func (s *RetryLayerThreadStore) CreateMembershipIfNeeded(userId string, postId string, following bool, incrementMentions bool, updateFollowing bool) error

func (*RetryLayerThreadStore) Delete

func (s *RetryLayerThreadStore) Delete(postId string) error

func (*RetryLayerThreadStore) DeleteMembershipForUser

func (s *RetryLayerThreadStore) DeleteMembershipForUser(userId string, postId string) error

func (*RetryLayerThreadStore) Get

func (*RetryLayerThreadStore) GetMembershipForUser

func (s *RetryLayerThreadStore) GetMembershipForUser(userId string, postId string) (*model.ThreadMembership, error)

func (*RetryLayerThreadStore) GetMembershipsForUser

func (s *RetryLayerThreadStore) GetMembershipsForUser(userId string, teamId string) ([]*model.ThreadMembership, error)

func (*RetryLayerThreadStore) GetPosts

func (s *RetryLayerThreadStore) GetPosts(threadId string, since int64) ([]*model.Post, error)

func (*RetryLayerThreadStore) GetThreadForUser

func (s *RetryLayerThreadStore) GetThreadForUser(userId string, teamId string, threadId string, extended bool) (*model.ThreadResponse, error)

func (*RetryLayerThreadStore) GetThreadMentionsForUserPerChannel

func (s *RetryLayerThreadStore) GetThreadMentionsForUserPerChannel(userId string, teamId string) (map[string]int64, error)

func (*RetryLayerThreadStore) GetThreadsForUser

func (s *RetryLayerThreadStore) GetThreadsForUser(userId string, teamId string, opts model.GetUserThreadsOpts) (*model.Threads, error)

func (*RetryLayerThreadStore) MarkAllAsRead

func (s *RetryLayerThreadStore) MarkAllAsRead(userId string, teamId string) error

func (*RetryLayerThreadStore) MarkAsRead

func (s *RetryLayerThreadStore) MarkAsRead(userId string, threadId string, timestamp int64) error

func (*RetryLayerThreadStore) Save

func (s *RetryLayerThreadStore) Save(thread *model.Thread) (*model.Thread, error)

func (*RetryLayerThreadStore) SaveMembership

func (s *RetryLayerThreadStore) SaveMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)

func (*RetryLayerThreadStore) SaveMultiple

func (s *RetryLayerThreadStore) SaveMultiple(thread []*model.Thread) ([]*model.Thread, int, error)

func (*RetryLayerThreadStore) Update

func (s *RetryLayerThreadStore) Update(thread *model.Thread) (*model.Thread, error)

func (*RetryLayerThreadStore) UpdateMembership

func (s *RetryLayerThreadStore) UpdateMembership(membership *model.ThreadMembership) (*model.ThreadMembership, error)

func (*RetryLayerThreadStore) UpdateUnreadsByChannel

func (s *RetryLayerThreadStore) UpdateUnreadsByChannel(userId string, changedThreads []string, timestamp int64, updateViewedTimestamp bool) error

type RetryLayerTokenStore

type RetryLayerTokenStore struct {
	store.TokenStore
	Root *RetryLayer
}

func (*RetryLayerTokenStore) Cleanup

func (s *RetryLayerTokenStore) Cleanup()

func (*RetryLayerTokenStore) Delete

func (s *RetryLayerTokenStore) Delete(token string) error

func (*RetryLayerTokenStore) GetByToken

func (s *RetryLayerTokenStore) GetByToken(token string) (*model.Token, error)

func (*RetryLayerTokenStore) RemoveAllTokensByType

func (s *RetryLayerTokenStore) RemoveAllTokensByType(tokenType string) error

func (*RetryLayerTokenStore) Save

func (s *RetryLayerTokenStore) Save(recovery *model.Token) error

type RetryLayerUploadSessionStore

type RetryLayerUploadSessionStore struct {
	store.UploadSessionStore
	Root *RetryLayer
}

func (*RetryLayerUploadSessionStore) Delete

func (*RetryLayerUploadSessionStore) Get

func (*RetryLayerUploadSessionStore) GetForUser

func (s *RetryLayerUploadSessionStore) GetForUser(userId string) ([]*model.UploadSession, error)

func (*RetryLayerUploadSessionStore) Save

func (*RetryLayerUploadSessionStore) Update

type RetryLayerUserAccessTokenStore

type RetryLayerUserAccessTokenStore struct {
	store.UserAccessTokenStore
	Root *RetryLayer
}

func (*RetryLayerUserAccessTokenStore) Delete

func (s *RetryLayerUserAccessTokenStore) Delete(tokenId string) error

func (*RetryLayerUserAccessTokenStore) DeleteAllForUser

func (s *RetryLayerUserAccessTokenStore) DeleteAllForUser(userId string) error

func (*RetryLayerUserAccessTokenStore) Get

func (*RetryLayerUserAccessTokenStore) GetAll

func (s *RetryLayerUserAccessTokenStore) GetAll(offset int, limit int) ([]*model.UserAccessToken, error)

func (*RetryLayerUserAccessTokenStore) GetByToken

func (s *RetryLayerUserAccessTokenStore) GetByToken(tokenString string) (*model.UserAccessToken, error)

func (*RetryLayerUserAccessTokenStore) GetByUser

func (s *RetryLayerUserAccessTokenStore) GetByUser(userId string, page int, perPage int) ([]*model.UserAccessToken, error)

func (*RetryLayerUserAccessTokenStore) Save

func (*RetryLayerUserAccessTokenStore) Search

func (*RetryLayerUserAccessTokenStore) UpdateTokenDisable

func (s *RetryLayerUserAccessTokenStore) UpdateTokenDisable(tokenId string) error

func (*RetryLayerUserAccessTokenStore) UpdateTokenEnable

func (s *RetryLayerUserAccessTokenStore) UpdateTokenEnable(tokenId string) error

type RetryLayerUserStore

type RetryLayerUserStore struct {
	store.UserStore
	Root *RetryLayer
}

func (*RetryLayerUserStore) AnalyticsActiveCount

func (s *RetryLayerUserStore) AnalyticsActiveCount(time int64, options model.UserCountOptions) (int64, error)

func (*RetryLayerUserStore) AnalyticsActiveCountForPeriod

func (s *RetryLayerUserStore) AnalyticsActiveCountForPeriod(startTime int64, endTime int64, options model.UserCountOptions) (int64, error)

func (*RetryLayerUserStore) AnalyticsGetExternalUsers

func (s *RetryLayerUserStore) AnalyticsGetExternalUsers(hostDomain string) (bool, error)

func (*RetryLayerUserStore) AnalyticsGetGuestCount

func (s *RetryLayerUserStore) AnalyticsGetGuestCount() (int64, error)

func (*RetryLayerUserStore) AnalyticsGetInactiveUsersCount

func (s *RetryLayerUserStore) AnalyticsGetInactiveUsersCount() (int64, error)

func (*RetryLayerUserStore) AnalyticsGetSystemAdminCount

func (s *RetryLayerUserStore) AnalyticsGetSystemAdminCount() (int64, error)

func (*RetryLayerUserStore) AutocompleteUsersInChannel

func (s *RetryLayerUserStore) AutocompleteUsersInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) (*model.UserAutocompleteInChannel, error)

func (*RetryLayerUserStore) ClearAllCustomRoleAssignments

func (s *RetryLayerUserStore) ClearAllCustomRoleAssignments() error

func (*RetryLayerUserStore) ClearCaches

func (s *RetryLayerUserStore) ClearCaches()

func (*RetryLayerUserStore) Count

func (s *RetryLayerUserStore) Count(options model.UserCountOptions) (int64, error)

func (*RetryLayerUserStore) DeactivateGuests

func (s *RetryLayerUserStore) DeactivateGuests() ([]string, error)

func (*RetryLayerUserStore) DemoteUserToGuest

func (s *RetryLayerUserStore) DemoteUserToGuest(userID string) (*model.User, error)

func (*RetryLayerUserStore) Get

func (*RetryLayerUserStore) GetAll

func (s *RetryLayerUserStore) GetAll() ([]*model.User, error)

func (*RetryLayerUserStore) GetAllAfter

func (s *RetryLayerUserStore) GetAllAfter(limit int, afterId string) ([]*model.User, error)

func (*RetryLayerUserStore) GetAllNotInAuthService

func (s *RetryLayerUserStore) GetAllNotInAuthService(authServices []string) ([]*model.User, error)

func (*RetryLayerUserStore) GetAllProfiles

func (s *RetryLayerUserStore) GetAllProfiles(options *model.UserGetOptions) ([]*model.User, error)

func (*RetryLayerUserStore) GetAllProfilesInChannel

func (s *RetryLayerUserStore) GetAllProfilesInChannel(ctx context.Context, channelId string, allowFromCache bool) (map[string]*model.User, error)

func (*RetryLayerUserStore) GetAllUsingAuthService

func (s *RetryLayerUserStore) GetAllUsingAuthService(authService string) ([]*model.User, error)

func (*RetryLayerUserStore) GetAnyUnreadPostCountForChannel

func (s *RetryLayerUserStore) GetAnyUnreadPostCountForChannel(userId string, channelId string) (int64, error)

func (*RetryLayerUserStore) GetByAuth

func (s *RetryLayerUserStore) GetByAuth(authData *string, authService string) (*model.User, error)

func (*RetryLayerUserStore) GetByEmail

func (s *RetryLayerUserStore) GetByEmail(email string) (*model.User, error)

func (*RetryLayerUserStore) GetByUsername

func (s *RetryLayerUserStore) GetByUsername(username string) (*model.User, error)

func (*RetryLayerUserStore) GetChannelGroupUsers

func (s *RetryLayerUserStore) GetChannelGroupUsers(channelID string) ([]*model.User, error)

func (*RetryLayerUserStore) GetEtagForAllProfiles

func (s *RetryLayerUserStore) GetEtagForAllProfiles() string

func (*RetryLayerUserStore) GetEtagForProfiles

func (s *RetryLayerUserStore) GetEtagForProfiles(teamId string) string

func (*RetryLayerUserStore) GetEtagForProfilesNotInTeam

func (s *RetryLayerUserStore) GetEtagForProfilesNotInTeam(teamId string) string

func (*RetryLayerUserStore) GetForLogin

func (s *RetryLayerUserStore) GetForLogin(loginId string, allowSignInWithUsername bool, allowSignInWithEmail bool) (*model.User, error)

func (*RetryLayerUserStore) GetKnownUsers

func (s *RetryLayerUserStore) GetKnownUsers(userID string) ([]string, error)

func (*RetryLayerUserStore) GetMany

func (s *RetryLayerUserStore) GetMany(ctx context.Context, ids []string) ([]*model.User, error)

func (*RetryLayerUserStore) GetNewUsersForTeam

func (s *RetryLayerUserStore) GetNewUsersForTeam(teamId string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*RetryLayerUserStore) GetProfileByGroupChannelIdsForUser

func (s *RetryLayerUserStore) GetProfileByGroupChannelIdsForUser(userId string, channelIds []string) (map[string][]*model.User, error)

func (*RetryLayerUserStore) GetProfileByIds

func (s *RetryLayerUserStore) GetProfileByIds(ctx context.Context, userIds []string, options *store.UserGetByIdsOpts, allowFromCache bool) ([]*model.User, error)

func (*RetryLayerUserStore) GetProfiles

func (s *RetryLayerUserStore) GetProfiles(options *model.UserGetOptions) ([]*model.User, error)

func (*RetryLayerUserStore) GetProfilesByUsernames

func (s *RetryLayerUserStore) GetProfilesByUsernames(usernames []string, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*RetryLayerUserStore) GetProfilesInChannel

func (s *RetryLayerUserStore) GetProfilesInChannel(options *model.UserGetOptions) ([]*model.User, error)

func (*RetryLayerUserStore) GetProfilesInChannelByStatus

func (s *RetryLayerUserStore) GetProfilesInChannelByStatus(options *model.UserGetOptions) ([]*model.User, error)

func (*RetryLayerUserStore) GetProfilesNotInChannel

func (s *RetryLayerUserStore) GetProfilesNotInChannel(teamId string, channelId string, groupConstrained bool, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*RetryLayerUserStore) GetProfilesNotInTeam

func (s *RetryLayerUserStore) GetProfilesNotInTeam(teamId string, groupConstrained bool, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*RetryLayerUserStore) GetProfilesWithoutTeam

func (s *RetryLayerUserStore) GetProfilesWithoutTeam(options *model.UserGetOptions) ([]*model.User, error)

func (*RetryLayerUserStore) GetRecentlyActiveUsersForTeam

func (s *RetryLayerUserStore) GetRecentlyActiveUsersForTeam(teamId string, offset int, limit int, viewRestrictions *model.ViewUsersRestrictions) ([]*model.User, error)

func (*RetryLayerUserStore) GetSystemAdminProfiles

func (s *RetryLayerUserStore) GetSystemAdminProfiles() (map[string]*model.User, error)

func (*RetryLayerUserStore) GetTeamGroupUsers

func (s *RetryLayerUserStore) GetTeamGroupUsers(teamID string) ([]*model.User, error)

func (*RetryLayerUserStore) GetUnreadCount

func (s *RetryLayerUserStore) GetUnreadCount(userId string) (int64, error)

func (*RetryLayerUserStore) GetUnreadCountForChannel

func (s *RetryLayerUserStore) GetUnreadCountForChannel(userId string, channelId string) (int64, error)

func (*RetryLayerUserStore) GetUsersBatchForIndexing

func (s *RetryLayerUserStore) GetUsersBatchForIndexing(startTime int64, endTime int64, limit int) ([]*model.UserForIndexing, error)

func (*RetryLayerUserStore) InferSystemInstallDate

func (s *RetryLayerUserStore) InferSystemInstallDate() (int64, error)

func (*RetryLayerUserStore) InvalidateProfileCacheForUser

func (s *RetryLayerUserStore) InvalidateProfileCacheForUser(userId string)

func (*RetryLayerUserStore) InvalidateProfilesInChannelCache

func (s *RetryLayerUserStore) InvalidateProfilesInChannelCache(channelId string)

func (*RetryLayerUserStore) InvalidateProfilesInChannelCacheByUser

func (s *RetryLayerUserStore) InvalidateProfilesInChannelCacheByUser(userId string)

func (*RetryLayerUserStore) PermanentDelete

func (s *RetryLayerUserStore) PermanentDelete(userId string) error

func (*RetryLayerUserStore) PromoteGuestToUser

func (s *RetryLayerUserStore) PromoteGuestToUser(userID string) error

func (*RetryLayerUserStore) ResetLastPictureUpdate

func (s *RetryLayerUserStore) ResetLastPictureUpdate(userId string) error

func (*RetryLayerUserStore) Save

func (s *RetryLayerUserStore) Save(user *model.User) (*model.User, error)

func (*RetryLayerUserStore) Search

func (s *RetryLayerUserStore) Search(teamId string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*RetryLayerUserStore) SearchInChannel

func (s *RetryLayerUserStore) SearchInChannel(channelId string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*RetryLayerUserStore) SearchInGroup

func (s *RetryLayerUserStore) SearchInGroup(groupID string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*RetryLayerUserStore) SearchNotInChannel

func (s *RetryLayerUserStore) SearchNotInChannel(teamId string, channelId string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*RetryLayerUserStore) SearchNotInTeam

func (s *RetryLayerUserStore) SearchNotInTeam(notInTeamId string, term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*RetryLayerUserStore) SearchWithoutTeam

func (s *RetryLayerUserStore) SearchWithoutTeam(term string, options *model.UserSearchOptions) ([]*model.User, error)

func (*RetryLayerUserStore) Update

func (s *RetryLayerUserStore) Update(user *model.User, allowRoleUpdate bool) (*model.UserUpdate, error)

func (*RetryLayerUserStore) UpdateAuthData

func (s *RetryLayerUserStore) UpdateAuthData(userId string, service string, authData *string, email string, resetMfa bool) (string, error)

func (*RetryLayerUserStore) UpdateFailedPasswordAttempts

func (s *RetryLayerUserStore) UpdateFailedPasswordAttempts(userId string, attempts int) error

func (*RetryLayerUserStore) UpdateLastPictureUpdate

func (s *RetryLayerUserStore) UpdateLastPictureUpdate(userId string) error

func (*RetryLayerUserStore) UpdateMfaActive

func (s *RetryLayerUserStore) UpdateMfaActive(userId string, active bool) error

func (*RetryLayerUserStore) UpdateMfaSecret

func (s *RetryLayerUserStore) UpdateMfaSecret(userId string, secret string) error

func (*RetryLayerUserStore) UpdatePassword

func (s *RetryLayerUserStore) UpdatePassword(userId string, newPassword string) error

func (*RetryLayerUserStore) UpdateUpdateAt

func (s *RetryLayerUserStore) UpdateUpdateAt(userId string) (int64, error)

func (*RetryLayerUserStore) VerifyEmail

func (s *RetryLayerUserStore) VerifyEmail(userId string, email string) (string, error)

type RetryLayerUserTermsOfServiceStore

type RetryLayerUserTermsOfServiceStore struct {
	store.UserTermsOfServiceStore
	Root *RetryLayer
}

func (*RetryLayerUserTermsOfServiceStore) Delete

func (s *RetryLayerUserTermsOfServiceStore) Delete(userId string, termsOfServiceId string) error

func (*RetryLayerUserTermsOfServiceStore) GetByUser

func (*RetryLayerUserTermsOfServiceStore) Save

type RetryLayerWebhookStore

type RetryLayerWebhookStore struct {
	store.WebhookStore
	Root *RetryLayer
}

func (*RetryLayerWebhookStore) AnalyticsIncomingCount

func (s *RetryLayerWebhookStore) AnalyticsIncomingCount(teamId string) (int64, error)

func (*RetryLayerWebhookStore) AnalyticsOutgoingCount

func (s *RetryLayerWebhookStore) AnalyticsOutgoingCount(teamId string) (int64, error)

func (*RetryLayerWebhookStore) ClearCaches

func (s *RetryLayerWebhookStore) ClearCaches()

func (*RetryLayerWebhookStore) DeleteIncoming

func (s *RetryLayerWebhookStore) DeleteIncoming(webhookId string, time int64) error

func (*RetryLayerWebhookStore) DeleteOutgoing

func (s *RetryLayerWebhookStore) DeleteOutgoing(webhookId string, time int64) error

func (*RetryLayerWebhookStore) GetIncoming

func (s *RetryLayerWebhookStore) GetIncoming(id string, allowFromCache bool) (*model.IncomingWebhook, error)

func (*RetryLayerWebhookStore) GetIncomingByChannel

func (s *RetryLayerWebhookStore) GetIncomingByChannel(channelId string) ([]*model.IncomingWebhook, error)

func (*RetryLayerWebhookStore) GetIncomingByTeam

func (s *RetryLayerWebhookStore) GetIncomingByTeam(teamId string, offset int, limit int) ([]*model.IncomingWebhook, error)

func (*RetryLayerWebhookStore) GetIncomingByTeamByUser

func (s *RetryLayerWebhookStore) GetIncomingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.IncomingWebhook, error)

func (*RetryLayerWebhookStore) GetIncomingList

func (s *RetryLayerWebhookStore) GetIncomingList(offset int, limit int) ([]*model.IncomingWebhook, error)

func (*RetryLayerWebhookStore) GetIncomingListByUser

func (s *RetryLayerWebhookStore) GetIncomingListByUser(userId string, offset int, limit int) ([]*model.IncomingWebhook, error)

func (*RetryLayerWebhookStore) GetOutgoing

func (s *RetryLayerWebhookStore) GetOutgoing(id string) (*model.OutgoingWebhook, error)

func (*RetryLayerWebhookStore) GetOutgoingByChannel

func (s *RetryLayerWebhookStore) GetOutgoingByChannel(channelId string, offset int, limit int) ([]*model.OutgoingWebhook, error)

func (*RetryLayerWebhookStore) GetOutgoingByChannelByUser

func (s *RetryLayerWebhookStore) GetOutgoingByChannelByUser(channelId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)

func (*RetryLayerWebhookStore) GetOutgoingByTeam

func (s *RetryLayerWebhookStore) GetOutgoingByTeam(teamId string, offset int, limit int) ([]*model.OutgoingWebhook, error)

func (*RetryLayerWebhookStore) GetOutgoingByTeamByUser

func (s *RetryLayerWebhookStore) GetOutgoingByTeamByUser(teamId string, userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)

func (*RetryLayerWebhookStore) GetOutgoingList

func (s *RetryLayerWebhookStore) GetOutgoingList(offset int, limit int) ([]*model.OutgoingWebhook, error)

func (*RetryLayerWebhookStore) GetOutgoingListByUser

func (s *RetryLayerWebhookStore) GetOutgoingListByUser(userId string, offset int, limit int) ([]*model.OutgoingWebhook, error)

func (*RetryLayerWebhookStore) InvalidateWebhookCache

func (s *RetryLayerWebhookStore) InvalidateWebhookCache(webhook string)

func (*RetryLayerWebhookStore) PermanentDeleteIncomingByChannel

func (s *RetryLayerWebhookStore) PermanentDeleteIncomingByChannel(channelId string) error

func (*RetryLayerWebhookStore) PermanentDeleteIncomingByUser

func (s *RetryLayerWebhookStore) PermanentDeleteIncomingByUser(userId string) error

func (*RetryLayerWebhookStore) PermanentDeleteOutgoingByChannel

func (s *RetryLayerWebhookStore) PermanentDeleteOutgoingByChannel(channelId string) error

func (*RetryLayerWebhookStore) PermanentDeleteOutgoingByUser

func (s *RetryLayerWebhookStore) PermanentDeleteOutgoingByUser(userId string) error

func (*RetryLayerWebhookStore) SaveIncoming

func (*RetryLayerWebhookStore) SaveOutgoing

func (*RetryLayerWebhookStore) UpdateIncoming

func (s *RetryLayerWebhookStore) UpdateIncoming(webhook *model.IncomingWebhook) (*model.IncomingWebhook, error)

func (*RetryLayerWebhookStore) UpdateOutgoing

Jump to

Keyboard shortcuts

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