Documentation ¶
Index ¶
- func FinalizeDecision(w http.ResponseWriter, r *http.Request)
- func GetCurrentDecision(w http.ResponseWriter, r *http.Request)
- func GetDecision(w http.ResponseWriter, r *http.Request)
- func GetFilteredDecisions(w http.ResponseWriter, r *http.Request)
- func GetStats(w http.ResponseWriter, r *http.Request)
- func SetupController(route *mux.Route)
- func UpdateDecision(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FinalizeDecision ¶
func FinalizeDecision(w http.ResponseWriter, r *http.Request)
Finalizes / unfinalizes the decision associated with the provided ID. Finalized decisions are blocked from further review, unless unfinalized.
func GetCurrentDecision ¶
func GetCurrentDecision(w http.ResponseWriter, r *http.Request)
Endpoint to get the decision for the current user
func GetDecision ¶
func GetDecision(w http.ResponseWriter, r *http.Request)
Endpoint to get the decision for the specified user
func GetFilteredDecisions ¶
func GetFilteredDecisions(w http.ResponseWriter, r *http.Request)
Endpoint to get decisions based on a filter
func GetStats ¶
func GetStats(w http.ResponseWriter, r *http.Request)
Endpoint to get decision stats
func SetupController ¶
func UpdateDecision ¶
func UpdateDecision(w http.ResponseWriter, r *http.Request)
Endpoint to update the decision for the specified user. If the existing decision is finalized, an error is reported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.