handlers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AliasHandler

func AliasHandler(cfg *config.Config) http.HandlerFunc

ALIAS // Handler that output shortcut aimed for the target machines (source it). It is for linux machines

func AliasWindowsHandler added in v1.1.0

func AliasWindowsHandler(cfg *config.Config) http.HandlerFunc

Handler that output shortcut aimed for the target machines (source it). It is for linux machines

func DownloadHandler

func DownloadHandler(h http.Handler) http.Handler

Handler for uploading directory (tar format)

func InitHandlers

func InitHandlers(cfg *config.Config)

func TreeHandler

func TreeHandler(cfg *config.Config) http.HandlerFunc

TREE // Handler that print the tree of the file server

func UploadDirectoryHandler

func UploadDirectoryHandler(cfg *config.Config) http.HandlerFunc

Handler for uploading directory (tar format)

func UploadHandler

func UploadHandler(cfg *config.Config) http.HandlerFunc

UPLOAD // Handler for uploading files

Types

This section is empty.

Jump to

Keyboard shortcuts

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