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