command
module
Version:
v0.0.18
Opens a new window with list of versions in this module.
Published: Apr 1, 2024
License: MIT
Opens a new window with license information.
Imports: 29
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
httpcgi is...
- HTTP Server
- supports legacy CGI program
- can run WASI binary with CGI interface
- only CGI
- without static file serving
- without reverse proxy
- ...
install
- go install github.com/wtnb75/httpcgi@latest
- supports WASI
- with wasmer runtime: go install -tags wasmer github.com/wtnb75/httpcgi@latest
- with wasmtime runtime: go install -tags wasmtime github.com/wtnb75/httpcgi@latest
- with wazero runtime: go install -tags wazero github.com/wtnb75/httpcgi@latest
- supports Docker
- go install -tags docker github.com/wtnb75/httpcgi@latest
run
options
Usage:
httpcgi [OPTIONS]
Application Options:
-v, --verbose log verbose
-q, --quiet log quiet
-l, --listen=[host]:port
--protocol=tcp/unix
-p, --prefix=url-prefix
-b, --base-dir=dirname
-s, --suffix=.ext
--json-log
--runner=name
-V, --version
--opentelemetry=[stdout|zipkin|otlp|otlp-http]
Help Options:
-h, --help Show this help message
docker
- docker run ghcr.io/wtnb75/httpcgi [options]...
docker compose
Documentation
¶
httpcgi: serve legacy CGI
Source Files
¶
Directories
¶
Package mock_client is a generated GoMock package.
|
Package mock_client is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.