Versions in this module Expand all Collapse all v0 v0.11.0 Nov 16, 2018 Changes in this version + const AbortRequest + const Authorizer + const BeginRequest + const CantMultiplexConns + const Data + const EndRequest + const FCGIHeaderLen + const FCGIKeepConn + const FCGIListenSockFileno + const FCGINullRequestID + const Filter + const GetValues + const GetValuesResult + const MaxConns + const MaxRequests + const MaxType + const MultiplexConns + const Overloaded + const Params + const RequestComplete + const Responder + const Stderr + const Stdin + const Stdout + const UnknownRole + const UnknownType + const Version1 + var ErrIndexMissingSplit = errors.New("configured index file(s) must include split value") + type FCGIClient struct + func Dial(network, address string) (fcgi *FCGIClient, err error) + func DialContext(ctx context.Context, network, address string) (fcgi *FCGIClient, err error) + func DialWithDialerContext(ctx context.Context, network, address string, dialer net.Dialer) (fcgi *FCGIClient, err error) + func (c *FCGIClient) Close() + func (c *FCGIClient) Do(p map[string]string, req io.Reader) (r io.Reader, err error) + func (c *FCGIClient) Get(p map[string]string, body io.Reader, l int64) (resp *http.Response, err error) + func (c *FCGIClient) Head(p map[string]string) (resp *http.Response, err error) + func (c *FCGIClient) Options(p map[string]string) (resp *http.Response, err error) + func (c *FCGIClient) Post(p map[string]string, method string, bodyType string, body io.Reader, l int64) (resp *http.Response, err error) + func (c *FCGIClient) PostFile(p map[string]string, data url.Values, file map[string]string) (resp *http.Response, err error) + func (c *FCGIClient) PostForm(p map[string]string, data url.Values) (resp *http.Response, err error) + func (c *FCGIClient) Request(p map[string]string, req io.Reader) (resp *http.Response, err error) + func (c *FCGIClient) SetReadTimeout(t time.Duration) error + func (c *FCGIClient) SetSendTimeout(t time.Duration) error + type Handler struct + FileSys http.FileSystem + Next httpserver.Handler + Root string + Rules []Rule + ServerName string + ServerPort string + SoftwareName string + SoftwareVersion string + func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) + type LogError string + func (l LogError) Error() string + type Rule struct + ConnectTimeout time.Duration + EnvVars [][2]string + Ext string + IgnoredSubPaths []string + IndexFiles []string + Path string + ReadTimeout time.Duration + Root string + SendTimeout time.Duration + SplitPath string + func (r Rule) AllowedPath(requestPath string) bool