Documentation ¶
Overview ¶
Package request contains logic and handlers for API routes dealing with Delivery Service Requests (DSRs).
Index ¶
- func Delete(w http.ResponseWriter, r *http.Request)
- func Get(w http.ResponseWriter, r *http.Request)
- func GetAssignment(w http.ResponseWriter, r *http.Request)
- func GetStatus(w http.ResponseWriter, r *http.Request)
- func Post(w http.ResponseWriter, r *http.Request)
- func Put(w http.ResponseWriter, r *http.Request)
- func PutAssignment(w http.ResponseWriter, r *http.Request)
- func PutStatus(w http.ResponseWriter, r *http.Request)
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.
Types ¶
This section is empty.