src

package
v0.0.0-...-bf7c5d4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(w http.ResponseWriter, r *http.Request)

func HandleNotAllowed

func HandleNotAllowed(w http.ResponseWriter, r *http.Request)

Types

type FSInfo

type FSInfo struct {
	Folder  bool
	Files   []*FileInfo `json:"files"`
	Content []byte
	// contains filtered or unexported fields
}

type FileInfo

type FileInfo struct {
	Folder bool   `json:"folder"`
	Path   string `json:"path"`
}

type Response

type Response struct {
	Status  int         `json:"status"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

type UriInfo

type UriInfo struct {
	Folder bool   `json:"folder"`
	File   bool   `json:"file"`
	Hidden bool   `json:"hidden"`
	Valid  bool   `json:"valid"`
	Uri    string `json:"uri"`
}

Jump to

Keyboard shortcuts

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