pomme/internal/api
2023-02-06 14:39:08 +00:00
..
api.go turn into one route 2023-02-06 14:39:08 +00:00
api_test.go add server death if cannot acccess DB with clean shutdown (drains connections), and other error handling, linting. 2023-02-02 18:02:22 -05:00
auth.go remove unnecessary code, added switch fallthroughs for cleanup. remove status code from response (is in header) 2023-02-01 19:50:41 -05:00
fs.go capture error on defer, doc string, lint 2023-02-06 14:39:08 +00:00
helpers.go add ndr interface for handling dns reqs, add zonedir to config, add /save route to save zfs to zonedir, fix make local, and other small changes 2023-02-06 14:39:08 +00:00
jwt.go make jwt expiration consistent with cookies 2023-01-20 10:10:27 -05:00
testhelper.go updated swagger docs to look more like Gitea, moved all structs to types.go, removed username from response struct, removed other unnecessary code 2023-02-01 00:36:17 -05:00
types.go add fs.go to internal, make makeLocal do the majority of lifting for tmp and perm files, made save() call makeLocal 2023-02-06 14:39:08 +00:00
users.go internal.response doesn't includes http status, api tests use header status code now, new generic APIError function 2023-02-01 15:59:34 -05:00
zone.go update swagger docs 2023-02-06 14:39:08 +00:00