web

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: May 12, 2025 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPort = "9669"
)

Functions

func ServeFile

func ServeFile(w http.ResponseWriter, r *http.Request, name, indexPage, root string)

Types

type DownloadArgs

type DownloadArgs struct {
	Port         []string
	Net          []string
	Name         string
	File         string
	MaxDeepLevel int
	Host         []string
	Auth         string
	ServerID     string
	DownloadAll  bool
	Timeout      int
	DownloadDir  string
	// contains filtered or unexported fields
}

type HTTPArgs

type HTTPArgs struct {
	Addr      string
	RootDir   string
	Auth      []string
	Upload    string
	ServerID  string
	IndexPage string
}

type Tool

type Tool struct {
}

func NewTool

func NewTool() *Tool

Jump to

Keyboard shortcuts

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