api

module
v0.0.0-...-795d1f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2017 License: MIT

README

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

Directories

Path Synopsis
Package changes implements a way to create changesets between two different instances of the same object.
Package changes implements a way to create changesets between two different instances of the same object.
db
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL