web

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 40 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 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
}

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