Commit Graph

245 Commits

Author SHA1 Message Date
Eliot Whalan
b7e1a556be
Improve api 2016-08-10 18:45:15 +10:00
Eliot Whalan
8f7528cbc6
Update readme 2016-07-20 08:36:25 +10:00
Eliot Whalan
d4c3fcc41f
Add config file parsing 2016-07-20 08:34:20 +10:00
Eliot Whalan
25c3304b78
Merge branch 'master' of github.com:ewhal/Pastebin 2016-07-20 07:13:51 +10:00
Eliot Whalan
1f7b3992b0
Add configuration file 2016-07-20 07:13:34 +10:00
Eliot Whalan
c9f1646033 Update README.md 2016-07-18 07:33:26 +10:00
Eliot Whalan
9a73530524
Rename package to main 2016-07-17 11:36:55 +10:00
Eliot Whalan
8e6780b3ac
Rename hash to sha1 2016-07-16 09:42:24 +10:00
Eliot Whalan
402b16fe18
Update makefile 2016-07-15 15:13:59 +10:00
Eliot Whalan
7888af82e6
Revert "update reademe and use flags"
This reverts commit 07a5f9e32b.
2016-07-15 15:11:35 +10:00
Eliot Whalan
07a5f9e32b
update reademe and use flags 2016-07-15 15:05:51 +10:00
Eliot Whalan
edf3f836e8
Add fallthrough 2016-07-15 14:42:51 +10:00
Eliot Whalan
fa91a2fa81
Reintroduce duration function 2016-07-15 14:42:14 +10:00
Eliot Whalan
ba1ae34465
Update travis ci 2016-07-15 14:27:11 +10:00
Eliot Whalan
00e041a843
Fix up expiry options 2016-07-15 13:48:58 +10:00
Eliot Whalan
6ddd2b06d2
Try fixing up duration parsing again 2016-07-15 13:13:50 +10:00
Eliot Whalan
9c87dbabed
Remove uncessary variable 2016-07-15 13:09:19 +10:00
Eliot Whalan
68205953c4
fix up expiry 2016-07-15 13:06:25 +10:00
Eliot Whalan
8c26aa72c0
Remove durationfromexpiry function 2016-07-15 12:41:42 +10:00
Eliot Whalan
5ae8540ad7
Use parseduration 2016-07-15 12:39:20 +10:00
Eliot Whalan
fcee4082ac
Rewrite DurationFromExpiry function 2016-07-15 12:12:09 +10:00
Eliot Whalan
fe6e5f15e6
Replace hash with sha1 2016-07-15 10:19:45 +10:00
Eliot Whalan
435ab89dfb
fix up godoc package name error 2016-07-14 15:52:18 +10:00
Eliot Whalan
bb5d97afe6
Merge branch 'master' of github.com:ewhal/Pastebin 2016-07-14 15:47:07 +10:00
Eliot Whalan
95b3034486
Update docus 2016-07-14 15:46:29 +10:00
Eliot Whalan
db6197b17b Update README.md 2016-07-14 13:21:20 +10:00
Eliot Whalan
e59e2c443b
Update makefile 2016-07-14 12:09:25 +10:00
Eliot Whalan
a1311ce1b5
More updates to readme 2016-07-14 12:04:03 +10:00
Eliot Whalan
1157ca415a
Rename LICENSE file 2016-07-14 11:57:22 +10:00
Eliot Whalan
17c41cdaf4
Rename LICENSE file 2016-07-14 11:57:07 +10:00
Eliot Whalan
6093913ec6
Update readme 2016-07-14 11:53:57 +10:00
Eliot Whalan
04b7fcea81
Fix cli uploads 2016-07-12 18:33:19 +10:00
Eliot Whalan
3cddbf7c90
Make api more restful 2016-07-12 10:50:44 +10:00
Eliot Whalan
c8ecc0c312
Reorder forever to be at the bottom 2016-07-12 07:15:36 +10:00
Eliot Whalan
7a020e9c9a
Use log package 2016-07-10 12:24:09 +10:00
Eliot Whalan
312e7452a0
Force default to be text/plain 2016-07-09 14:44:48 +10:00
Eliot Whalan
0f510852f8
Force raw to be text/plain 2016-07-09 14:40:48 +10:00
Eliot Whalan
9e71bc7039
Force raw to be plain/text 2016-07-09 14:26:01 +10:00
Eliot Whalan
951361c25e
More comments, rename package to main and roothandler 2016-07-04 14:17:17 +10:00
Eliot Whalan
b2839aacfa
Document more code 2016-07-04 12:52:23 +10:00
Eliot Whalan
8a4629c4b4
Update readme 2016-07-04 12:33:43 +10:00
Eliot Whalan
01e0959200
Fix up golint errors 2016-07-04 12:31:01 +10:00
Eliot Whalan
601a5d6ee1
Fix up golint errors 2016-07-04 12:29:59 +10:00
Eliot Whalan
741511897c
Reduce code for handling titles 2016-07-04 10:38:12 +10:00
Eliot Whalan
2d4d7034b0
Start writing documentation 2016-07-04 10:19:57 +10:00
Eliot Whalan
67e267d149
Rename package to pastebin 2016-07-04 10:06:47 +10:00
Eliot Whalan
321f189852
Rename main.go to pastebin.go 2016-07-04 10:06:24 +10:00
Eliot Whalan
27aff618fd
Reduce code for lang 2016-07-04 10:04:37 +10:00
Eliot Whalan
c7101dc5cb
Change db.close to defer db.close 2016-07-04 10:03:22 +10:00
Eliot Whalan
45845f7783
Save function return response struct 2016-07-04 10:02:06 +10:00