Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FinishRequest ¶
FinishRequest makes a given ResultFunc asynchronous and handles errors returned by the response.
Types ¶
type PostTimeoutLoggerFunc ¶
PostTimeoutLoggerFunc is a function that can be used to log the result returned by a ResultFunc after the request had timed out. timedOutAt is the time the request had been timed out. r is the result returned by the child goroutine.
type ResultFunc ¶
ResultFunc is a function that returns a rest result and can be run in a goroutine
Click to show internal directories.
Click to hide internal directories.