package config // AuthCfg groups access control, authentication, mute, rate-limit, and IP // policy fields. Pass this slice to domain constructors that only need auth // configuration (e.g. access control checks, ACL services). type AuthCfg struct { AuthRequired bool AuthToWrite bool PrivilegedOpen bool NIP70Enforce bool MarmotOpen bool NIP46BypassAuth bool ACLMode string MuteBlacklist string Admins []string Owners []string FreeWriteLimit int32 FreeWriteWindow int32 IPWhitelist []string IPBlacklist []string FollowListFreqSec int32 FollowsThrottle bool FollowsThrottleIncrMs int32 FollowsThrottleMaxMs int32 SocialThrottleD2IncrMs int32 SocialThrottleD2MaxMs int32 SocialThrottleD3IncrMs int32 SocialThrottleD3MaxMs int32 SocialThrottleOutsiderIncrMs int32 SocialThrottleOutsiderMaxMs int32 SocialWoTMaxDepth int32 SocialWoTRefreshSec int32 GrapeVineEnabled bool GrapeVineMaxDepth int32 GrapeVineMaxCycles int32 GrapeVineAttenuation float64 GrapeVineRigor float64 GrapeVineFollowConf float64 GrapeVineObservers []string GrapeVineRefreshSec int32 GrapeVineAutoWhitelist bool GrapeVineWhitelistThresh float64 GrapeVineWhitelistRefSec int32 }