start adding mastodon api types

This commit is contained in:
tsmethurst 2021-03-11 14:30:14 +01:00
commit c558681f02
16 changed files with 388 additions and 114 deletions

View file

@ -20,6 +20,6 @@ package cache
// Cache defines an in-memory cache that is safe to be wiped when the application is restarted
type Cache interface {
Store(k string, v interface{}) error
Fetch(k string) (interface{}, error)
Store(k string, v interface{}) error
Fetch(k string) (interface{}, error)
}