Discover Packages
github.com/takeanote/takeanote-api
httputils
package
Version:
v0.0.0-...-d94e6cf
Opens a new window with list of versions in this module.
Published: Feb 16, 2016
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
WriteError decodes an error and sends it in the response.
WriteJSON writes the value v to the http response stream as json with standard json encoding.
APIFunc is an adapter to allow the use of ordinary functions as TakeANote API endpoints.
Any function that has the appropriate signature can be register as a API endpoint
Source Files
¶
Click to show internal directories.
Click to hide internal directories.