handler

package
v0.0.0-...-09d1bbf Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	S           *http.ServeMux
	IP          string
	Port        int
	Auth        bool
	ShareDir    string
	ShareDirAbs string
	ShowDotDir  bool
	CookieDir   string
}

func (*Handler) DelFile

func (h *Handler) DelFile(w http.ResponseWriter, r *http.Request)

func (*Handler) Index

func (h *Handler) Index(w http.ResponseWriter, r *http.Request)

func (*Handler) Login

func (h *Handler) Login(w http.ResponseWriter, r *http.Request)

Login 登录模块

func (*Handler) OpenDir

func (h *Handler) OpenDir(w http.ResponseWriter, r *http.Request)

func (*Handler) OpenFile

func (h *Handler) OpenFile(w http.ResponseWriter, r *http.Request)

func (*Handler) Send

func (h *Handler) Send(w http.ResponseWriter, r *http.Request)

func (*Handler) UploadFile

func (h *Handler) UploadFile(w http.ResponseWriter, r *http.Request)

func (*Handler) ZipToDownload

func (h *Handler) ZipToDownload(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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