Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendTask ¶
AppendTask appends a task executed after completion of existing task. It is a no-op if there is no existing task.
func WithRoutine ¶
WithRoutine returns an http.Handler that executes preparation of long running requests (i.e. watches) in a separate Goroutine and then serves the long running request in the main Goroutine. Doing so allows freeing stack memory used in preparation Goroutine for better memory efficiency.
Types ¶
Click to show internal directories.
Click to hide internal directories.