Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

ulog Deploy

Build Status

A URI logger to demo Postgresql's data types. An attempt at rolling my own go/postgresql web service after following the tutorial over at: http://www.alexedwards.net/blog/practical-persistence-sql.

Resulting API

GET /log

Returns all URI's stored in the database in the format:

log_id=[serial integer] log_timestamp=[2006-01-02T15:04:05.999999Z]
log_description=[description text]
log_uri=[uri string]

POST /log?uri=[uri][&description=[text]]

Saves a URI with a description and timestamp. The description is optional. Parameters must be in valid uri encoding. If successful, returns with a response of:

Successfully created "[log_description]...", 1 row(s) affected.

Backlog

About

URI logging service

Resources

Packages

No packages published

Languages