httpserver

package module
v0.0.0-...-cd2d69e Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

README

HTTPServer

This is a simple HTTP server meant to emulate python's SimpleHTTPServer module.

Usage

httpserver [-h] [--cgi] [-b ADDRESS] [-d DIRECTORY] [-p VERSION] [port]

Installing

First, have Go installed. Latest version, please. I'm talking about you debian.

Run as root

CDIR=$PWD
cd /tmp
git clone https://concord.hectabit.org/HectaBit/httpserver --depth=1
cd httpserver/httpserver
make install
cd $CDIR
CDIR=

This also puts your enviroment right back where it was, how nice of me!

Compiling

git clone https://concord.hectabit.org/HectaBit/httpserver --depth=1
cd httpserver/httpserver
make

This creates the binary "httpserver"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(port string, path string, address string, protocolVer string) (error, int)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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