Documentation ¶
Index ¶
- func DownloadHandler(w http.ResponseWriter, r *http.Request, p string, h map[string]string, ...) (bool, error)
- func ExtractHeaders(path string) (http.Header, error)
- func GenerateCert(out string, name string, org []string, notAfter time.Time)
- func IsIPv4(ip net.IP) bool
- func SetHeaders(w http.ResponseWriter, h map[string]string)
- type AvailableIp
- type DownloadFileHeaders
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadHandler ¶
func SetHeaders ¶
func SetHeaders(w http.ResponseWriter, h map[string]string)
Types ¶
type AvailableIp ¶
func AvailableInterfaces ¶
func AvailableInterfaces() ([]AvailableIp, error)
type DownloadFileHeaders ¶
Click to show internal directories.
Click to hide internal directories.