Documentation
¶
Index ¶
- func NewFilterHandler(root string, clientFactory gofast.ClientFactory) http.Handler
- func NewHandler(entrypoint, network, address string) http.Handler
- func NewMuxHandler(root string, entrypoint string, network, address string) http.Handler
- func NewResponderHandler(entrypoint string, clientFactory gofast.ClientFactory) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilterHandler ¶
func NewFilterHandler(root string, clientFactory gofast.ClientFactory) http.Handler
NewFilterHandler for advanced test for muxing which will pass a requested file, in root folder, to the fastcgi application for filtering
func NewHandler ¶
NewHandler returns a fastcgi web server implementation as an http.Handler Please note that this handler doesn't handle the fastcgi application process. You'd need to start it with other means.
entrypoint: the full path to the application entrypoint file (e.g. webapp.py)
or equivlant path for fastcgi application to identify itself.
network: network protocol (tcp / tcp4 / tcp6)
or if it is a unix socket, "unix"
address: IP address and port, or the socket physical address of the fastcgi
application.
func NewMuxHandler ¶
NewMuxHandler create advanced muxing example
func NewResponderHandler ¶
func NewResponderHandler(entrypoint string, clientFactory gofast.ClientFactory) http.Handler
NewResponderHandler for advanced test for muxing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.