Versions in this module Expand all Collapse all v1 v1.0.0 Jul 9, 2019 Changes in this version + type Config struct + AwsAccess string + AwsRegion string + AwsSecret string + Exclude []string + Include []string + NameAppend string + NamePrepend string + Path string + Qualifier string + Single string + StripPathPrefix bool + UpstreamHeaders map[string][]string + func ParseConfigs(c *caddy.Controller) ([]*Config, error) + func (c *Config) AcceptsFunction(name string) bool + func (c *Config) MaybeToInvokeInput(r *http.Request) (*lambda.InvokeInput, error) + func (c *Config) ParseFunction(path string) string + func (c *Config) ToAwsConfig() *aws.Config + type Handler struct + Configs []*Config + Next httpserver.Handler + func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) + type Invoker interface + Invoke func(input *lambda.InvokeInput) (*lambda.InvokeOutput, error) + type Reply struct + Body string + BodyEncoding string + Meta *ReplyMeta + Type string + func ParseReply(data []byte) (*Reply, error) + type ReplyMeta struct + Headers map[string][]string + Status int + type Request struct + Body string + Meta *RequestMeta + Type string + func NewRequest(r *http.Request) (*Request, error) + type RequestMeta struct + Headers map[string][]string + Host string + Method string + Path string + Proto string + Query string