Commit Graph

24 Commits

Author SHA1 Message Date
351be0b59d Update main.go according to latest changes 2016-07-17 16:18:01 +01:00
5d3c8ef3ca Update Makefile 2016-07-17 16:17:46 +01:00
68807898da Lots of changes to web package
Use go-bindata, html/templates, and lots of other changes to the web
package.
2016-07-17 16:16:59 +01:00
2e84c00707 Turn shortener.Shortener into an interface
And have the default shortener be Base58Shortener.
2016-07-17 16:15:37 +01:00
9d636cafab Rename response attributes 2016-07-11 19:20:10 +01:00
fa9b0dfab3 Rename inmemory sub-package to inmemorystore 2016-07-11 18:17:33 +01:00
cbdd5790bd Fix epic typo :O 2016-07-11 18:16:57 +01:00
e3ec2ff16c Add very basic in-memory storage adapter 2016-07-11 14:11:38 +01:00
6b0244c552 Hash URLs with SHA1 for lookup by URL operations 2016-07-11 14:08:59 +01:00
3a8669b394 Update Makefile 2016-07-11 14:07:40 +01:00
0dd530828d Fix typo 2016-07-11 01:19:21 +01:00
931ec38d2d Extract web handlers to their own file 2016-07-11 01:18:15 +01:00
4a71a34c42 Add Makefile for basic tasks 2016-07-11 01:03:28 +01:00
76145b3969 Get basic HTTP server working 2016-07-11 00:51:48 +01:00
0ddf94c504 Update goleveldbstore test 2016-07-10 16:35:10 +01:00
4bf98aac89 Basic web package and wip on main 2016-07-10 16:34:18 +01:00
ae48e665f0 Improve shortner tests 2016-07-10 16:33:46 +01:00
7db54a871b Lowercase errors 2016-07-10 16:32:40 +01:00
27bd7d32ed Use a mock store in Shortner tests
And also add benchmarks for shortner.Shorten and shortner.Lookup
functions.
2016-07-06 14:37:58 +01:00
089b481fc0 Initial work on shortner package 2016-07-05 23:19:24 +01:00
d1a330187e Restructure storage code a bit 2016-07-05 23:16:33 +01:00
53fa0bd397 Initial work on storage package 2016-07-03 02:09:46 +01:00
eb02d1c5a0 Add shitty readme 2016-06-25 22:40:41 +01:00
919883326b Initial commit 2016-06-25 22:38:57 +01:00