Commit graph

11 commits

Author SHA1 Message Date
tsmethurst
d3a80b69f0 minify email html before sending 2021-10-17 17:45:07 +02:00
tsmethurst
b524b12100 only assemble message if callback is not nil 2021-10-17 17:06:47 +02:00
tsmethurst
8fdb3256e5 use noop email sender in tests 2021-10-17 16:59:57 +02:00
tsmethurst
b0cc815189 add noop email sender 2021-10-17 16:19:13 +02:00
tsmethurst
2ca332250b fix tests 2021-10-16 18:42:20 +02:00
tsmethurst
2eda7f4846 tidy up the email formatting 2021-10-16 18:41:36 +02:00
tsmethurst
bf6da319f2 golint 2021-10-16 17:48:40 +02:00
tsmethurst
ba1c49b7f9 go fmt 2021-10-16 17:47:43 +02:00
tsmethurst
c868cc3e65 flesh out the email sender interface 2021-10-16 17:47:13 +02:00
Tobi Smethurst
aa9ce272dc
Oauth/token (#7)
* add host and protocol options

* some fiddling

* tidying up and comments

* tick off /oauth/token

* tidying a bit

* tidying

* go mod tidy

* allow attaching middleware to server

* add middleware

* more user friendly

* add comments

* comments

* store account + app

* tidying

* lots of restructuring

* lint + tidy
2021-03-22 22:26:54 +01:00
tsmethurst
4e281f31b0 whole buncha stuff 2021-03-15 23:05:24 +01:00