Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.38 KB

README.md

File metadata and controls

35 lines (18 loc) · 1.38 KB

Go API Framework

Status: This is used in production for several apis and as such is considered stable, but open to api changes without warning.

API Toolkit.

Ethos

Composable. Pick and choose what you want to use, nothing is absolute. You're just writing Go. HTTP handlers everywhere. No unknown magic.

Packages

  • changes Generate diffs between type instances for audit logs, and update management.

  • ctx Tightly coupled, lockable contexts used in most packages.

  • fail Return intelligent, api friendly, and log friendly errors.

  • lifecycle Manage the lifecycle of your application, e.g. shutdown callbacks.

  • log Sane defaults for logging via Logrus.

  • sideload Automatically load related entities

  • lynx Encrypt and decrypt your data as required.

  • vc Handle request and response lifecycle, including encryption, sideloading and rendering.

TODO

  • Sideloading of related entities
  • Types for actors, users and parameters
  • View Helpers for rendering responses and errors