Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "oneshot [flags]... [file]",
Short: "A single-fire HTTP server.",
Long: `Start an HTTP server which will only serve files once.
If no file is given, oneshot will instead serve from stdin.
If serving from stdin, oneshot will hold the clients connection until receiving the EOF character`,
Run: run,
}
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.