2024-07-01 22:52:57 +04:00
|
|
|
package server
|
|
|
|
|
2024-11-29 13:54:10 -05:00
|
|
|
import "github.com/status-im/status-go/protocol/protobuf"
|
|
|
|
|
2024-07-01 22:52:57 +04:00
|
|
|
type MediaServerInterface interface {
|
|
|
|
MakeCommunityDescriptionTokenImageURL(communityID, symbol string) string
|
|
|
|
MakeCommunityImageURL(communityID, name string) string
|
2024-12-03 14:33:49 -05:00
|
|
|
SetCommunityImageVersionReader(func(communityID string) uint32)
|
2024-11-29 13:54:10 -05:00
|
|
|
SetCommunityImageReader(func(communityID string) (map[string]*protobuf.IdentityImage, error))
|
|
|
|
SetCommunityTokensReader(func(communityID string) ([]*protobuf.CommunityTokenMetadata, error))
|
2024-07-01 22:52:57 +04:00
|
|
|
}
|