GOSP-SERVER
NAME
gosp-server - serve requests to a plugin generated by gosp2go
SYNOPSIS
gosp-server [options]
DESCRIPTION
gosp-server is not normally run directly by a user. Rather, it is invoked either by gosp2go on the command line or by the Go Server Pages Apache module.
OPTIONS
--file=file
File name from which to read a JSON request
--http-headers=mod_gosp|raw|none
HTTP header format: mod_gosp for internal communication with the Go Server Pages Apache module, raw for textual "key: value" lines followed by a blank line, or none for ignoring HTTP headers (default: mod_gosp)
--max-idle=duration
Maximum idle time before automatic server exit or 0s for infinite (default: 5m0s)
--plugin=file
Name of a plugin compiled from a Go Server Page by gosp2go
--socket=file
Unix socket (filename) on which to listen for JSON requests
--version
Output gosp-server usage information and exit
--help
Output the gosp-server version number and exit
The --plugin option is required. Typically, either --socket or --file is used to provide request data to the plugin.
SEE ALSO
gosp2go(1)
AUTHOR
Scott Pakin, scott+gosp@pakin.org