Versions in this module Expand all Collapse all v0 v0.9.5 Jan 24, 2017 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 Client interface + Close func() error + Get func(pair map[string]string) (response *http.Response, err error) + Head func(pair map[string]string) (response *http.Response, err error) + Options func(pairs map[string]string) (response *http.Response, err error) + Post func(pairs map[string]string, method string, bodyType string, body io.Reader, ...) (response *http.Response, err error) + SetReadTimeout func(time.Duration) error + SetSendTimeout func(time.Duration) error + StdErr func() bytes.Buffer + type FCGIClient struct + func DialTimeout(network string, address string, timeout time.Duration) (fcgi *FCGIClient, err error) + func (c *FCGIClient) Close() error + func (c *FCGIClient) Do(p map[string]string, req io.Reader) (r io.Reader, err error) + func (c *FCGIClient) Get(p map[string]string) (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 int) (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 + func (c *FCGIClient) StdErr() bytes.Buffer + 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 + Address string + 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