realTimeRedisManager

package
v0.0.0-...-1d800d4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	ConfirmUpdates(ctx context.Context, projectId sharedTypes.UUID, processed []sharedTypes.DocumentUpdate) error
	GetPendingUpdatesForDoc(ctx context.Context, docId sharedTypes.UUID) ([]sharedTypes.DocumentUpdate, error)
	GetUpdatesLength(ctx context.Context, docId sharedTypes.UUID) (int64, error)
	QueueUpdate(ctx context.Context, docId sharedTypes.UUID, update sharedTypes.DocumentUpdate) error
	ReportError(ctx context.Context, projectId, docId sharedTypes.UUID, err error) error
}

func New

func New(client redis.UniversalClient) (Manager, error)

Jump to

Keyboard shortcuts

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