Documentation
¶
Index ¶
- func ExportSheet(store *lib.InitStore) fiber.Handler
- func ImportSheet(store *lib.InitStore) fiber.Handler
- func Init(store *lib.InitStore)
- func RestoreSheet(store *lib.InitStore) fiber.Handler
- func SheetAtRevision(store *lib.InitStore) fiber.Handler
- func SheetHistory(store *lib.InitStore) fiber.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportSheet ¶
ExportSheet handles GET /s/:pad/export.xlsx.
func ImportSheet ¶
ImportSheet handles POST /s/:pad/import (multipart "file"), replacing the sheet's workbook and notifying connected clients to reload.
func RestoreSheet ¶ added in v0.7.0
RestoreSheet handles POST /s/:pad/history/:rev/restore: it brings the workbook back to that revision with ordinary ops, which reach the connected clients like anyone's edits.
func SheetAtRevision ¶ added in v0.7.0
SheetAtRevision handles GET /s/:pad/history/:rev: the workbook snapshot as it was at that revision.
Types ¶
This section is empty.