api

command
v0.0.0-...-f42d3a4 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: MIT Imports: 4 Imported by: 0

README

API

This example application shows a basic API implementation using Fireball. The following elements are shown here:

  • Returning JSON responses from Handlers
  • Using a custom App.ErrorHandler to send all errors as JSON
  • Using path variables in routes

Run Example

From this directory, run:

go run main.go

Navigate to http://localhost:9090/movies. The username and password is "user" and "pass".

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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