Documentation
¶
Overview ¶
Package nexssflow exposes the in-process task queue to Nexss Flow.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LibraryWithConfig ¶
LibraryWithConfig creates a Flow library with the supplied queue settings.
Types ¶
type EnqueueRequest ¶
type EnqueueRequest struct {
Type string `json:"type"`
Payload any `json:"payload"`
Priority string `json:"priority,omitempty"`
}
EnqueueRequest is the input accepted by taskqueue.enqueue.
type TaskBinding ¶
type TaskBinding struct {
Type string
}
TaskBinding marks an action as a handler for a named queue task type.
Click to show internal directories.
Click to hide internal directories.