rest_api_utils

package
v0.0.0-...-8832f83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL