Documentation
¶
Index ¶
- func GetFeeds(ctx context.Context, opts activities_model.GetFeedsOptions) (activities_model.ActionList, int64, error)
- func GetFeedsForDashboard(ctx context.Context, opts activities_model.GetFeedsOptions) (activities_model.ActionList, int, error)
- func Init() error
- func NewNotifier() notify_service.Notifier
- func NotifyWatchers(ctx context.Context, acts ...*activities_model.Action) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFeeds ¶ added in v1.23.0
func GetFeeds(ctx context.Context, opts activities_model.GetFeedsOptions) (activities_model.ActionList, int64, error)
GetFeeds returns actions according to the provided options
func GetFeedsForDashboard ¶ added in v1.24.0
func GetFeedsForDashboard(ctx context.Context, opts activities_model.GetFeedsOptions) (activities_model.ActionList, int, error)
func NewNotifier ¶
func NewNotifier() notify_service.Notifier
NewNotifier create a new actionNotifier notifier
func NotifyWatchers ¶ added in v1.24.0
func NotifyWatchers(ctx context.Context, acts ...*activities_model.Action) error
NotifyWatchers creates batch of actions for every watcher.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.