Documentation ¶
Index ¶
- Variables
- func HandleRecord(ctx context.Context, record events.SQSMessage, ...) (any, error)
- func Start(handler interface{})
- func StartHandler(handler Handler)
- func StartHandlerWithContext(ctx context.Context, handler Handler)
- func StartWithContext(ctx context.Context, handler interface{})
- func StartWithOptions(handler interface{}, options ...Option)
- type Function
- type Handler
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var InstrumentedSymbols = [...]string{"Start", "StartWithContext", "StartWithOptions"}
Functions ¶
func HandleRecord ¶ added in v1.34.2
func StartHandler ¶
func StartHandler(handler Handler)
func StartHandlerWithContext ¶
func StartWithContext ¶
func StartWithOptions ¶
func StartWithOptions(handler interface{}, options ...Option)
Types ¶
type Function ¶
func NewFunction ¶
type Handler ¶
func NewHandler ¶
func NewHandler(handlerFunc interface{}) Handler
func NewHandlerWithOptions ¶
type Option ¶
func WithContext ¶
func WithEnableSIGTERM ¶
func WithEnableSIGTERM(callbacks ...func()) Option
func WithSetEscapeHTML ¶
func WithSetIndent ¶
Click to show internal directories.
Click to hide internal directories.