0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 07:53:45 +01:00
dendrite/federationapi/api/servers.go

12 lines
239 B
Go
Raw Normal View History

package api
import (
"context"
"github.com/matrix-org/gomatrixserverlib"
)
type ServersInRoomProvider interface {
GetServersForRoom(ctx context.Context, roomID string, event *gomatrixserverlib.Event) []gomatrixserverlib.ServerName
}