Searched refs:userPublicKeysPath (Results 1 – 4 of 4) sorted by relevance
/dports/ftp/sftpgo/sftpgo-2.2.0/httpd/ |
H A D | httpd.go | 59 userPublicKeysPath = "/api/v2/user/publickeys" const
|
H A D | server.go | 1121 Get(userPublicKeysPath, getUserPublicKeys) 1123 Put(userPublicKeysPath, setUserPublicKeys)
|
H A D | internal_test.go | 954 req, _ = http.NewRequest(http.MethodPost, userPublicKeysPath, nil) 955 req.RequestURI = userPublicKeysPath
|
H A D | httpd_test.go | 90 userPublicKeysPath = "/api/v2/user/publickeys" const 666 …req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userPublicKeysPath), n… 675 …req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userPublicKeysPath), n… 702 …req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userPublicKeysPath), n… 8021 req, _ = http.NewRequest(http.MethodGet, userPublicKeysPath, nil) 8027 req, _ = http.NewRequest(http.MethodPut, userPublicKeysPath, bytes.NewBuffer([]byte(`{}`))) 8498 req, err := http.NewRequest(http.MethodGet, userPublicKeysPath, nil) 8511 req, err = http.NewRequest(http.MethodPut, userPublicKeysPath, bytes.NewBuffer(asJSON)) 8517 req, err = http.NewRequest(http.MethodGet, userPublicKeysPath, nil) 8536 req, err = http.NewRequest(http.MethodPut, userPublicKeysPath, bytes.NewBuffer(asJSON)) [all …]
|