atproto relay in zig zlay.waow.tech
relay zig atproto
Something went wrong. Try again.
1234567891011121314151617//! atproto — AT Protocol / relay domain logic shared across modules.//! host parsing and policy live here (not util/) because they encode relay//! rules, mirroring indigo's relay rather than generic networking.
pub const hostname = @import("hostname.zig");pub const host_check = @import("host_check.zig");
pub const HostValidationError = hostname.HostValidationError;pub const validateHostname = hostname.validateHostname;pub const extractHostFromUrl = hostname.extractHostFromUrl;pub const checkHost = host_check.checkHost;pub const rejectPrivateHost = host_check.rejectPrivateHost;
test { @import("std").testing.refAllDecls(@This());}