Versions in this module Expand all Collapse all v1 v1.0.0 Oct 9, 2017 Changes in this version + var DefaultTextContentTypes = []string + func Serve(h http.Handler) apex.Handler + func SetTextContentTypes(types []string) error + type Event struct + Body string + HTTPMethod string + Headers map[string]string + IsBase64Encoded bool + Path string + PathParameters map[string]string + QueryStringParameters map[string]string + RequestContext *RequestContext + Resource string + StageVariables map[string]string + func (e *Event) GoString() string + func (e *Event) String() string + type Identity struct + APIKey string + AccessKey string + AccountID string + Caller string + CognitoAuthenticationProvider string + CognitoAuthenticationType string + CognitoIdentityID string + CognitoIdentityPoolID string + SourceIP string + User string + UserARN string + UserAgent string + type RequestContext struct + APIID string + AccountID string + Authorizer map[string]string + HTTPMethod string + Identity *Identity + RequestID string + ResourceID string + ResourcePath string + Stage string + func (rc *RequestContext) MarshalJSON() ([]byte, error) + func (rc *RequestContext) UnmarshalJSON(data []byte) error + type Response struct + Body string + Headers map[string]string + IsBase64Encoded bool + StatusCode int + type ResponseWriter struct + func (w *ResponseWriter) Header() http.Header + func (w *ResponseWriter) Write(bs []byte) (int, error) + func (w *ResponseWriter) WriteHeader(status int)