Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOpt = Options{
ListenAddr: "localhost:2121",
PublicIP: "",
PassivePorts: "30000-32000",
BasicUser: "anonymous",
BasicPass: "",
}
DefaultOpt is the default values used for Options
View Source
var Help = `` /* 560-byte string literal not displayed */
Help contains text describing the http server to add to the command help.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { //TODO add more options ListenAddr string // Port to listen on PublicIP string // Passive ports range PassivePorts string // Passive ports range BasicUser string // single username for basic auth if not using Htpasswd BasicPass string // password for BasicUser }
Options contains options for the http Server
Click to show internal directories.
Click to hide internal directories.