Improved avatar background job
This commit is contained in:
6
jobs/avatars/AvatarWriter.go
Normal file
6
jobs/avatars/AvatarWriter.go
Normal file
@ -0,0 +1,6 @@
|
||||
package main
|
||||
|
||||
// AvatarWriter represents a system that saves an avatar locally (in database or as a file, e.g.)
|
||||
type AvatarWriter interface {
|
||||
SaveAvatar(*Avatar) error
|
||||
}
|
Reference in New Issue
Block a user