agola/internal/util
Simone Gotti 3642be6f21 */api: Use helpers for error handling
* client: always parse the json error message field and return its contents
* Use ErrBadRequest and ErrNotFound in every handler and command
* Gateway: by default pass underlying service error (configstore, runservice) to
client keeping the status code and message. In future, if some errors must be
masked, we should change the specific parts that need special handling.
2019-04-09 14:53:00 +02:00
..
backoff.go gateway: initial implementation 2019-02-21 17:58:25 +01:00
dump.go Add dump util 2019-02-21 16:30:34 +01:00
errors.go */api: Use helpers for error handling 2019-04-09 14:53:00 +02:00
git.go */api: Use helpers for error handling 2019-04-09 14:53:00 +02:00
password.go Add password utils 2019-02-21 16:04:00 +01:00
path.go util/path: add PathList function 2019-03-28 16:02:11 +01:00
sha.go runservice: initial commit 2019-02-21 15:54:50 +01:00
slice_test.go Add slice utils 2019-02-21 16:32:27 +01:00
slice.go Add slice utils 2019-02-21 16:32:27 +01:00
ssh.go gateway: initial implementation 2019-02-21 17:58:25 +01:00
string.go Add slice utils 2019-02-21 16:32:27 +01:00
time.go Add time utils 2019-02-21 16:31:48 +01:00
tls.go Add tls util 2019-02-21 16:23:36 +01:00
uuid.go config environment from variable 2019-03-18 15:02:32 +01:00
validation_test.go gateway: initial implementation 2019-02-21 17:58:25 +01:00
validation.go gateway: initial implementation 2019-02-21 17:58:25 +01:00