Improved avatar background job
This commit is contained in:
10
jobs/avatars/AvatarSource.go
Normal file
10
jobs/avatars/AvatarSource.go
Normal file
@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
// AvatarSource describes a source where we can find avatar images for a user.
|
||||
type AvatarSource interface {
|
||||
GetAvatar(*arn.User) *Avatar
|
||||
}
|
Reference in New Issue
Block a user