bizangela

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewFeedToNotifyFlowCache added in v0.1.15

NewFeedToNotifyFlowCache Cache-Aside Pattern.

func NewNotifyFlowCache added in v0.1.0

NewNotifyFlowCache Cache-Aside Pattern.

func NewNotifyPushTopic added in v0.1.0

func NewNotifyTargetCache added in v0.1.0

NewNotifyTargetCache Cache-Aside Pattern.

func NewParseFeedItemDigestTopic added in v0.1.5

func NewParseFeedItemDigestTopic(
	a *AngelaBase,
) *libmq.Topic[modelangela.ParseFeedItemDigest]

func NewPullFeedTopic added in v0.0.5

func NewPullSteamAppTopic

func NewPullSteamAppTopic(
	a *AngelaBase,
	updateAppIndex *libmq.Topic[modelangela.UpdateAppIndex],
) *libmq.Topic[modelangela.PullSteamApp]

func NewUpdateAppIndexTopic added in v0.1.7

func NewUpdateAppIndexTopic(
	a *AngelaBase,
) *libmq.Topic[modelangela.UpdateAppIndex]

Types

type Angela

type Angela struct {
	// contains filtered or unexported fields
}

type AngelaBase

type AngelaBase struct {
	// contains filtered or unexported fields
}

type AngelaRepo added in v0.1.5

type AngelaRepo interface {
	UpdateAccount(context.Context, modeltiphereth.Account) error
	UpdateApp(context.Context, *modelgebura.App, *modelgebura.App) error
	UpsertApps(context.Context, []*modelgebura.App) error
	AccountPurchaseApps(context.Context, model.InternalID, []model.InternalID) error
	UpsertFeed(context.Context, *modelfeed.Feed) error
	UpsertFeedItems(context.Context, []*modelfeed.Item, model.InternalID) ([]string, error)
	GetFeedItem(context.Context, model.InternalID) (*modelfeed.Item, error)
	UpdateFeedItemDigest(context.Context, *modelfeed.Item) error
}

Jump to

Keyboard shortcuts

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