aboutsummaryrefslogtreecommitdiffstats
path: root/handlers.go
Commit message (Collapse)AuthorAgeFilesLines
* Make render data staticLibravatarLibravatar Simon Ser 2019-12-091-14/+39
| | | | | | | | This makes sure fields filled by vanilla koushin keep the right type. A new Extra field allows plugins to attach their own data. This also makes it easier to write Go plugins, which would have trouble working with interface{}.
* Use imap.BodyStructure.Filename and imap.Address.AddressLibravatarLibravatar Simon Ser 2019-12-091-1/+1
| | | | | The former fixes encoding issues in filenames. The latter is just for brevity.
* Extract HTTP handlers in separate fileLibravatarLibravatar Simon Ser 2019-12-041-0/+275