Versions in this module Expand all Collapse all v1 v1.14.2 Feb 25, 2025 Changes in this version + const DefaultMaxRequestBodySize + const DefaultReadBufferSize + const InternalHealthPath + type Configuration struct + CORS *cors.CORS + DisablePortPublishing bool + MaxRequestBodySize int + Mode TriggerMode + ReadBufferSize int + ReduceMemoryUsage bool + func NewConfiguration(id string, triggerConfiguration *functionconfig.Trigger, ...) (*Configuration, error) + type Event struct + func (e *Event) GetBody() []byte + func (e *Event) GetContentType() string + func (e *Event) GetFieldByteSlice(key string) []byte + func (e *Event) GetFieldInt(key string) (int, error) + func (e *Event) GetFieldString(key string) string + func (e *Event) GetFields() map[string]interface{} + func (e *Event) GetHeader(key string) interface{} + func (e *Event) GetHeaderByteSlice(key string) []byte + func (e *Event) GetHeaderString(key string) string + func (e *Event) GetHeaders() map[string]interface{} + func (e *Event) GetMethod() string + func (e *Event) GetPath() string + func (e *Event) GetTimestamp() time.Time + type FastHTTPLogger struct + func NewFastHTTPLogger(parentLogger logger.Logger) FastHTTPLogger + func (s FastHTTPLogger) Printf(format string, args ...interface{}) + type TriggerMode string + const DefaultTriggerMode + const TriggerModeAsync + const TriggerModeSync