Skip to content

mtso/ulog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages