nemunaire
|
22a253ea2b
|
WIP
|
2015-07-08 22:22:04 +02:00 |
nemunaire
|
b503493bfc
|
Add needs management
|
2015-07-05 16:38:55 +02:00 |
nemunaire
|
3d2525dd83
|
Refactor routing and explode actions from API response
|
2015-07-03 12:43:10 +02:00 |
nemunaire
|
e80ba51b95
|
Implement product edition
|
2015-06-10 01:26:46 +02:00 |
nemunaire
|
8ba3c2c3ce
|
Implement product deletion
|
2015-06-10 01:23:54 +02:00 |
nemunaire
|
f0e1a4c8d0
|
Remove trailing argument
When the URI end by / (eg. /products/), we don't want an empty argument, so this patch delete any trailing argument.
|
2015-06-10 01:17:30 +02:00 |
nemunaire
|
adf12eae60
|
Implement products adding
|
2015-06-10 01:14:17 +02:00 |
nemunaire
|
f5c1b2b17b
|
Read body content of the request if any and pass it to the handler
Return 413 on too huge content.
|
2015-06-10 01:14:12 +02:00 |
nemunaire
|
f8c88cd275
|
Report errors as JSON objects
Return 404 when no route are found for the given URL, instead of 400 "Empty URL".
|
2015-06-10 01:13:09 +02:00 |
nemunaire
|
d2590dde81
|
Implement products/list, list as JSON array
Creation of a new type "Product" representing a row in the products table.
|
2015-06-10 01:12:37 +02:00 |
nemunaire
|
a030ea786d
|
Return []byte instead of string
[]byte correspond to C string (char*). As Marshals return []byte, we should use it instead of Go strings.
|
2015-06-10 01:12:36 +02:00 |
nemunaire
|
df58b53031
|
Basic DB functions
|
2015-06-10 01:12:36 +02:00 |
nemunaire
|
dd47853719
|
Initialize project
Implement a basic router over simple HTTP server.
Made products interface with very basic responses.
|
2015-06-10 01:12:29 +02:00 |