Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-conduit/src/peer_relay.rs

cre8-app-conduit · module peer_relay · src · 1,696 lines (1,232 code, 322 comment) · sha db82307644b76979

Items

const BATCH_INTERVAL const MAX_BATCH_BYTES const BACKLOG_DROP_BYTES const TAP_CAPACITY const RECV_POLL const BACKOFF_START const BACKOFF_MAX const MAX_ERROR_CHARS const MAX_RELAYS const GATED_BATCH_PASS_TTL_MS const GATED_RELAY_SUBJECT struct RelayAuth impl Debug for RelayAuth impl RelayAuth struct RelayStats impl RelayStats struct RelayEntry impl RelayEntry type RelayKey static RELAYS const INTERNAL_HOSTNAMES const INTERNAL_PEER_REFUSAL static LOCK struct SeenRequest struct FakePeer impl FakePeer impl Drop for FakePeer

Functions

By call-graph weight (PageRank; 1.0 is the average function). 75 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
RelayAuth::headerssrc/peer_relay.rs:154method103603
address_is_internalsrc/peer_relay.rs:542fn1913202.3
secure_or_loopbacksrc/peer_relay.rs:634fn134211.9
guard_peer_destinationsrc/peer_relay.rs:577fn279311.8
slugifysrc/peer_relay.rs:658fn31311.5
RelayAuth::is_emptysrc/peer_relay.rs:149method32101.3
sample_avccsrc/peer_relay.rs:1192fn111201.2
FakePeer::start_failingsrc/peer_relay.rs:1054method265321.2
validate_peer_urlsrc/peer_relay.rs:492fn228421.2
ingest_stream_idsrc/peer_relay.rs:672fn31601.1
FakePeer::requestssrc/peer_relay.rs:1081method31411.1
with_relayssrc/peer_relay.rs:266fn41511.1
post_jsonsrc/peer_relay.rs:861fn122251.1
serve_onesrc/peer_relay.rs:1121fn5511131
derive_target_channelsrc/peer_relay.rs:665fn31311
guard_credential_transportsrc/peer_relay.rs:621fn62210.9
annexb_has_parameter_setssrc/peer_relay.rs:714fn185200.9
RelayAuth::describesrc/peer_relay.rs:166method32110.9
handle_requestsrc/peer_relay.rs:282fn245350.9
RelayEntry::visible_tosrc/peer_relay.rs:228method62200.9
RelayEntry::gatedsrc/peer_relay.rs:220method31310.9
refusal_reasonsrc/peer_relay.rs:847fn105300.9
RelayStats::startingsrc/peer_relay.rs:187method31400.8
avcc_parameter_setssrc/peer_relay.rs:740fn285100.8
header_valuesrc/peer_relay.rs:1111fn91100.8
egresssrc/peer_relay.rs:836fn31210.8
string_fieldsrc/peer_relay.rs:485fn31300.7
guard_pass_transportsrc/peer_relay.rs:630fn31210.7
guard_peer_url_destinationsrc/peer_relay.rs:649fn62220.7
relay_targetsrc/peer_relay.rs:682fn175250.7
video_unitsrc/peer_relay.rs:1177fn131510.7
add_responsesrc/peer_relay.rs:311fn90142230.7
video_payloadsrc/peer_relay.rs:772fn123220.7
test_entrysrc/peer_relay.rs:1215fn151430.7
relay_registry_locksrc/peer_relay.rs:1019fn41210.7
FakePeer::startsrc/peer_relay.rs:1048method31310.7
frame_for_unitsrc/peer_relay.rs:790fn242370.7
audio_unitsrc/peer_relay.rs:1204fn101300.7
RelayStats::note_errorsrc/peer_relay.rs:191method61200.6
remove_responsesrc/peer_relay.rs:402fn284170.6
list_responsesrc/peer_relay.rs:431fn61120.6
status_responsesrc/peer_relay.rs:438fn233140.6
post_batchsrc/peer_relay.rs:875fn163270.6
stop_relaysrc/peer_relay.rs:465fn173350.6
drive_relaysrc/peer_relay.rs:917fn86154110.6
collapse_to_last_keyframesrc/peer_relay.rs:818fn113200.6
unit_is_protectedsrc/peer_relay.rs:1005fn32210.6
FakePeer::wait_forsrc/peer_relay.rs:1090method133310.6
batch_passsrc/peer_relay.rs:702fn82220.6
failuresrc/peer_relay.rs:307fn31200.6
batch_bytessrc/peer_relay.rs:830fn31100.5
start_peer_channelsrc/peer_relay.rs:898fn142110.5
FakePeer::ingest_failures_leftsrc/peer_relay.rs:1085method31110.5
peer_relay_enabledsrc/peer_relay.rs:117fn31100.5
RelayAuth::from_inputsrc/peer_relay.rs:139method91100.5
private_peers_allowedsrc/peer_relay.rs:521fn61110.5
RelayAuth::fmtsrc/peer_relay.rs:133trait impl31010.5
RelayEntry::telemetrysrc/peer_relay.rs:235method251010.5
FakePeer::dropsrc/peer_relay.rs:1106trait impl31000.5
wire_batch_round_trips_into_the_ingest_contractsrc/peer_relay.rs:1236fn261080.5
keyframes_carry_parameter_setssrc/peer_relay.rs:1267fn121030.5
relay_registers_pushes_and_stops_on_the_peersrc/peer_relay.rs:1284fn5720110.5
failed_batches_are_retried_from_the_last_keyframesrc/peer_relay.rs:1346fn2320100.5
collapse_keeps_the_last_keyframe_and_counts_the_restsrc/peer_relay.rs:1372fn241060.5
peer_url_validation_refuses_credentials_and_foreign_schemessrc/peer_relay.rs:1401fn101010.5
internal_destinations_are_refused_unless_the_operator_opts_insrc/peer_relay.rs:1417fn362020.5
a_peers_response_body_never_reaches_telemetrysrc/peer_relay.rs:1459fn141040.5
relay_auth_debug_prints_the_shape_not_the_secretsrc/peer_relay.rs:1477fn91000.5
target_channel_defaults_to_the_source_handlesrc/peer_relay.rs:1490fn91030.5
a_private_channel_relays_under_its_own_namesrc/peer_relay.rs:1502fn121020.5
a_private_relay_is_unlisted_and_carries_a_pass_on_every_batchsrc/peer_relay.rs:1519fn4430140.5
add_and_remove_are_a_lifecyclesrc/peer_relay.rs:1567fn512040.5
the_relay_registry_refuses_past_its_capsrc/peer_relay.rs:1624fn423060.5
a_credential_never_rides_plaintext_to_a_remote_peersrc/peer_relay.rs:1671fn152010.5
unsupported_operations_are_reportedsrc/peer_relay.rs:1689fn71020.5

Source not readable from this process.