editor

package
v0.0.0-...-46fd052 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package editor is about the routes used to open files with editors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenURL

func OpenURL(c echo.Context) error

OpenURL is the API handler for GET /editor/:file-id/open. It returns the parameters to build the URL where the file can be opened by an editor.

func OpenURLWithReadOnly

func OpenURLWithReadOnly(c echo.Context, readOnly bool) error

OpenURLWithReadOnly is like OpenURL, with the read-only flag given explicitly instead of read from the query.

func Routes

func Routes(router *echo.Group)

Routes sets the routing for opening files with editors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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