nodejs

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

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

func NewHandler(entrypoint, network, address string) http.Handler

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

func NewMuxHandler(
	root string,
	entrypoint string,
	network, address string,
) http.Handler

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL