command
module
Version:
v1.9.7
Opens a new window with list of versions in this module.
Published: Oct 14, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
goserve
HTTP file server
Preview
https://cmgsj.github.io/goserve
Install
Go
go install github.com/cmgsj/goserve@latest
GitHub
https://github.com/cmgsj/goserve/releases/latest
os="darwin"
arch="arm64"
version=""
if [[ -z "${version}" ]]; then
version="$(curl -sSL "https://api.github.com/repos/cmgsj/goserve/releases/latest" | jq -r '.tag_name' | sed 's/^v//')"
fi
curl -sSLo /tmp/goserve.tar.gz "https://github.com/cmgsj/goserve/releases/download/v${version}/goserve_${version}_${os}_${arch}.tar.gz"
tar xzvf /tmp/goserve.tar.gz -C /tmp
rm -f /tmp/goserve.tar.gz
chmod +x /tmp/goserve
sudo mv /tmp/goserve /usr/local/bin
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
pkg
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.