Versions in this module Expand all Collapse all v0 v0.14.0 Dec 18, 2024 Changes in this version + const MRoomServerACL + type ServerACL struct + AllowIPLiterals bool + Allowed []string + Denied []string + type ServerACLDatabase interface + GetBulkStateContent func(ctx context.Context, roomIDs []string, ...) ([]tables.StrippedEvent, error) + RoomsWithACLs func(ctx context.Context) ([]string, error) + type ServerACLs struct + func NewServerACLs(db ServerACLDatabase) *ServerACLs + func (s *ServerACLs) IsServerBannedFromRoom(serverName spec.ServerName, roomID string) bool + func (s *ServerACLs) OnServerACLUpdate(strippedEvent tables.StrippedEvent)