request

package
v8.0.0-rc0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 21 Imported by: 5

Documentation

Overview

Package request contains logic and handlers for API routes dealing with Delivery Service Requests (DSRs).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(w http.ResponseWriter, r *http.Request)

Delete is the handler for DELETE requests to /deliveryservice_requests.

func Get

func Get(w http.ResponseWriter, r *http.Request)

Get is the GET handler for /deliveryservice_requests.

func GetAssignment

func GetAssignment(w http.ResponseWriter, r *http.Request)

GetAssignment is the handler for GET requests to /deliveryservice_requests/{{ID}}/assign.

func GetStatus

func GetStatus(w http.ResponseWriter, r *http.Request)

GetStatus is the handler for GET requests to /deliveryservice_requests/{{ID}}/status.

func Post

func Post(w http.ResponseWriter, r *http.Request)

Post is the handler for POST requests to /deliveryservice_requests.

func Put

func Put(w http.ResponseWriter, r *http.Request)

Put is the handler for PUT requests to /deliveryservice_requests.

func PutAssignment

func PutAssignment(w http.ResponseWriter, r *http.Request)

PutAssignment is the handler for PUT requsets to /deliveryservice_requests/{{ID}}/assign.

func PutStatus

func PutStatus(w http.ResponseWriter, r *http.Request)

PutStatus is the handler for PUT requests to /deliveryservice_requests/{{ID}}/status.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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