Documentation ¶
Index ¶
- Constants
- func NewContext() context.Context
- func NewHandler(delegate core.EventHandler) func(ctx context.Context, event events.SQSEvent) error
- func Start(fn core.EventHandler)
- func StartAtLeastOnce(ctx context.Context, fn core.EventHandler)
- func StartAtMostOnce(ctx context.Context, fn core.EventHandler)
- func StartExactlyOnce(ctx context.Context, fn core.EventHandler)
- func StartFullExactlyOnce(ctx context.Context, fn core.EventHandler)
- func StartWithContext(ctx context.Context, fn core.EventHandler)
Constants ¶
View Source
const DefaultHandlerTimeout uint64 = 5000
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
func NewHandler ¶
func Start ¶
func Start(fn core.EventHandler)
func StartAtLeastOnce ¶
func StartAtLeastOnce(ctx context.Context, fn core.EventHandler)
func StartAtMostOnce ¶
func StartAtMostOnce(ctx context.Context, fn core.EventHandler)
func StartExactlyOnce ¶
func StartExactlyOnce(ctx context.Context, fn core.EventHandler)
func StartFullExactlyOnce ¶
func StartFullExactlyOnce(ctx context.Context, fn core.EventHandler)
func StartWithContext ¶ added in v0.8.1
func StartWithContext(ctx context.Context, fn core.EventHandler)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.