mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 06:12:25 -05:00
start adding mastodon api types
This commit is contained in:
parent
a7b01a44b6
commit
c558681f02
16 changed files with 388 additions and 114 deletions
4
internal/cache/cache.go
vendored
4
internal/cache/cache.go
vendored
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue