routes

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteResourcesHandler

func DeleteResourcesHandler(d *db.DB, gc *grafton.Client,
	fc *connector.FakeConnector) http.HandlerFunc

DeleteResourcesHandler attempts to update an existing resource

func GetResourcesHandler

func GetResourcesHandler(d *db.DB) http.HandlerFunc

GetResourcesHandler displays a list of resources in format depending on the

Accept header

func PostResourcesHandler

func PostResourcesHandler(d *db.DB, gc *grafton.Client,
	fc *connector.FakeConnector, data *primitives.FakeProductData) http.HandlerFunc

PostResourcesHandler attempts to provision a new resource

func PutResourcesHandler

func PutResourcesHandler(d *db.DB) http.HandlerFunc

PutResourcesHandler attempts to update an existing resource

func SSOResourcesHandler

func SSOResourcesHandler(d *db.DB, gc *grafton.Client,
	fc *connector.FakeConnector) http.HandlerFunc

SSOResourcesHandler attempts to update an existing resource

Types

This section is empty.

Jump to

Keyboard shortcuts

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