Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExport ¶
func GetExport(ctx *fiber.Ctx, exportHandler *io.ExportEtherpad, settings *settings.Settings, logger *zap.SugaredLogger, padManager *pad.Manager, readOnlyManager *pad.ReadOnlyManager, securityManager *pad.SecurityManager) error
Types ¶
type ImportData ¶
type ImportData struct {
DirectDatabaseAccess bool `json:"directDatabaseAccess"`
}
type ImportError ¶
ImportError represents an import error with a status code
func (*ImportError) Error ¶
func (e *ImportError) Error() string
type ImportHandler ¶
type ImportHandler struct {
// contains filtered or unexported fields
}
ImportHandler handles pad import operations
func NewImportHandler ¶
func NewImportHandler( padManager *pad.Manager, securityManager *pad.SecurityManager, padHandler *ws.PadMessageHandler, importer *io.Importer, settings *settings.Settings, logger *zap.SugaredLogger, ) *ImportHandler
NewImportHandler creates a new ImportHandler
type ImportResponse ¶
type ImportResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Data ImportData `json:"data"`
}
ImportResponse is the JSON response for import operations
Click to show internal directories.
Click to hide internal directories.