(r *http.Request)
| 93 | } |
| 94 | |
| 95 | func (a *API) getAdminParams(r *http.Request) (*AdminUserParams, error) { |
| 96 | params := &AdminUserParams{} |
| 97 | if err := retrieveRequestParams(r, params); err != nil { |
| 98 | return nil, err |
| 99 | } |
| 100 | |
| 101 | return params, nil |
| 102 | } |
| 103 | |
| 104 | // adminUsers responds with a list of all users in a given audience |
| 105 | func (a *API) adminUsers(w http.ResponseWriter, r *http.Request) error { |
no test coverage detected