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 ¶
func GetFeeds(ctx context.Context, opts activities_model.GetFeedsOptions) (activities_model.ActionList, int64, error)
GetFeeds returns actions according to the provided options
func GetFeedsForDashboard ¶
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
Types ¶
This section is empty.
Source Files
¶
- feed.go
- notifier.go
Click to show internal directories.
Click to hide internal directories.