Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { GetDoc(ctx context.Context, projectId, docId sharedTypes.UUID) (*types.Doc, error) GetDocAndRecentUpdates(ctx context.Context, projectId, docId sharedTypes.UUID, fromVersion sharedTypes.Version) (*types.Doc, []sharedTypes.DocumentUpdate, error) GetProjectDocsAndFlushIfOld(ctx context.Context, projectId sharedTypes.UUID) ([]*types.Doc, error) SetDoc(ctx context.Context, projectId, docId sharedTypes.UUID, request types.SetDocRequest) error RenameDoc(ctx context.Context, projectId, docId sharedTypes.UUID, newPath sharedTypes.PathName) error ProcessUpdatesForDocHeadless(ctx context.Context, projectId, docId sharedTypes.UUID) error FlushAndDeleteDoc(ctx context.Context, projectId, docId sharedTypes.UUID) error FlushProject(ctx context.Context, projectId sharedTypes.UUID) error FlushAndDeleteProject(ctx context.Context, projectId sharedTypes.UUID) error QueueFlushAndDeleteProject(ctx context.Context, projectId sharedTypes.UUID) error }
func New ¶
func New(db *pgxpool.Pool, client redis.UniversalClient, tc trackChanges.Manager, rtRm realTimeRedisManager.Manager) (Manager, error)
Click to show internal directories.
Click to hide internal directories.