Documentation ¶
Overview ¶
Package utils contains objects and functions designed to ease restapi operations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchedActionsCreateRequestResponse ¶
type BatchedActionsCreateRequestResponse struct { RequestIndex int Response *models.ActionsGetResponse }
A struct supporting batched request handling by enabling appending both a request response and the request's index in the batch to a channel
type BatchedThingsCreateRequestResponse ¶
type BatchedThingsCreateRequestResponse struct { RequestIndex int Response *models.ThingsGetResponse }
A struct supporting batched request handling by enabling appending both a request response and the request's index in the batch to a channel
type RequestLocks ¶
type RequestLocks struct { DBLock database.ConnectorLock DelayedLock delayed_unlock.DelayedUnlockable DBConnector dbconnector.DatabaseConnector }
A struct supporting batched request handling by enabling easy transfer of dbconnector locks
type UnbatchedRequestResponse ¶
type UnbatchedRequestResponse struct { RequestIndex int Response *models.GraphQLResponse }
A struct allowing the storage of tuples in a channel
Click to show internal directories.
Click to hide internal directories.