Commit Graph

117 Commits

Author SHA1 Message Date
Daan Sprenkels
0d7f7c7808 Add meta viewer and owner tokens 2019-09-01 01:41:01 +02:00
Daan Sprenkels
5a7394ffd3 Rename main bucket to "pastes" and add /nr 2019-08-31 00:02:01 +02:00
Daan Sprenkels
498c84541b Add a small prometheus exporter 2019-08-29 23:41:00 +02:00
Daan Sprenkels
def0e6ed2b readme: Remove todos 2019-08-29 00:52:14 +02:00
Daan Sprenkels
3c4d0ca60e Implement retrieval of redirects 2019-08-29 00:51:40 +02:00
Daan Sprenkels
8322cbd0cf readme: Add more todos 2019-08-25 21:47:57 +02:00
Daan Sprenkels
d639b39afc readme: Add some todos 2019-08-25 21:33:32 +02:00
Daan Sprenkels
7926df7410 readme: Update description of key generation
In a recent commit, I updated the key generation to Lucus' solution, in which
we don't have to do any format-preserving encryption, but where the
probability of collisions is amortized away (basically by doing exponential
backoff) by adding a character every time we get a collision.
2019-08-25 21:30:10 +02:00
Daan Sprenkels
061bb23625 Initial commit 2019-08-25 21:33:56 +02:00
Daan Sprenkels
a9771a889b Add .gitignore file 2019-08-25 21:32:26 +02:00
Daan Sprenkels
a6edcd222e Add marshalling functions for gob
This removes a lot of the boilerplate code that comes with
(un)marshalling to gob encoding in Go.
2019-08-25 17:16:12 +02:00
Daan Sprenkels
983fa8d389 readme: Update errors dep to pkg/errors 2019-08-25 12:41:21 +02:00
Daan Sprenkels
827dc1d403 readme: Format regexp with slashes 2019-08-25 11:47:14 +02:00
Daan Sprenkels
b7118545c1 readme: Format number as not-commit 2019-08-25 11:46:30 +02:00
Daan Sprenkels
1c1f452919 Put some notes in a README.md file 2019-08-25 11:54:33 +02:00
Daan Sprenkels
881ae857cf Add go.mod file 2019-08-24 23:28:56 +02:00
Daan Sprenkels
e722a10443 Initial commit 2019-08-24 23:14:16 +02:00