Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cabal-club/cable.rs
/ functions
Functions
300 in github.com/cabal-club/cable.rs
⨍
Functions
300
◇
Types & classes
56
↓ 1 callers
Method
get_ex_channel_members
(&self, channel: &Channel)
cable_core/src/store.rs:442
↓ 1 callers
Method
get_keypair
(&self)
cable_core/src/store.rs:321
↓ 1 callers
Method
get_latest_hashes
(&self, channel: &Channel)
cable_core/src/store.rs:587
↓ 1 callers
Method
get_links
(&mut self, channel: &Channel)
cable_core/src/manager.rs:353
↓ 1 callers
Method
get_post_payload
(&self, hash: &Hash)
cable_core/src/store.rs:950
↓ 1 callers
Method
get_post_payloads
(&self, hashes: &[Hash])
cable_core/src/store.rs:957
↓ 1 callers
Method
get_posts
(&self, opts: &ChannelOptions)
cable_core/src/store.rs:662
↓ 1 callers
Method
get_posts_live
(&mut self, opts: &ChannelOptions)
cable_core/src/store.rs:709
↓ 1 callers
Method
get_remote_public_key
Return the public key of the remote peer.
handshake/src/post_handshake.rs:246
↓ 1 callers
Method
get_secret_key
Retrieve the secret key of the local peer.
cable_core/src/manager.rs:154
↓ 1 callers
Method
handle
Handle a request or response message.
cable_core/src/manager.rs:779
↓ 1 callers
Function
handshake
( client_version: Version, server_version: Version, psk: [u8; 32], client_private_key: Vec<u8>
handshake/benches/handshake_sync.rs:40
↓ 1 callers
Function
init
Initialise the logger in test mode. Set `is_test()` to `false` if you wish to see logging output during the test run.
cable_core/tests/channel_time_range.rs:62
↓ 1 callers
Function
init
Initialise the logger in test mode. Set `is_test()` to `false` if you wish to see logging output during the test run.
cable_core/tests/request_response.rs:65
↓ 1 callers
Method
insert_channel_member
(&mut self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:352
↓ 1 callers
Method
insert_channel_topic
( &mut self, channel: &Channel, topic: &Topic, timestamp: &Timestamp,
cable_core/src/store.rs:490
↓ 1 callers
Method
insert_delete_hash
(&mut self, public_key: &PublicKey, hash: &Hash)
cable_core/src/store.rs:541
↓ 1 callers
Method
insert_ex_channel_member
(&mut self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:450
↓ 1 callers
Method
insert_info_hash
(&mut self, public_key: &PublicKey, hash: &Hash)
cable_core/src/store.rs:564
↓ 1 callers
Method
insert_peer_name
( &mut self, public_key: &PublicKey, name: &Nickname, timestamp: &Timestamp,
cable_core/src/store.rs:620
↓ 1 callers
Method
is_channel_member
(&self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:367
↓ 1 callers
Method
is_live_request
Query if the request defined by the given peer ID and request ID is an active live request.
cable_core/src/manager.rs:359
↓ 1 callers
Method
is_local
(&self)
cable_core/src/manager.rs:75
↓ 1 callers
Method
is_signed
Check if the post has a signature.
cable/src/post.rs:276
↓ 1 callers
Method
join
Construct an unsigned join `Post` with the given parameters.
cable/src/post.rs:219
↓ 1 callers
Method
matches
Check if the given post matches the channel parameters defined for the live stream manager.
cable_core/src/stream.rs:61
↓ 1 callers
Function
message
( client_version: Version, server_version: Version, psk: [u8; 32], client_private_key: Vec<u8>
handshake/benches/message_sync.rs:43
↓ 1 callers
Method
new_peer_id
Generate a new peer ID.
cable_core/src/manager.rs:179
↓ 1 callers
Function
now
Get the current system time in seconds since the UNIX epoch.
cable_core/tests/request_response.rs:70
↓ 1 callers
Function
now
()
cable_core/examples/chat.rs:20
↓ 1 callers
Method
open_channel
Create a channel time range request and a channel state request matching the given channel parameters and broadcast them to all peers, listening for r
cable_core/src/manager.rs:193
↓ 1 callers
Function
parse_psk_and_mode
(psk_arg: &'a str, mode_arg: &'a str)
handshake/examples/cli.rs:41
↓ 1 callers
Method
post_delete
Publish a new delete post with the given post hashes, returning the hash of the new post.
cable_core/src/manager.rs:502
↓ 1 callers
Method
post_join
Publish a new join post for the given channel and return the hash.
cable_core/src/manager.rs:559
↓ 1 callers
Method
post_leave
Publish a new leave post for the given channel and return the hash.
cable_core/src/manager.rs:573
↓ 1 callers
Method
process_and_send_outbound_requests
Process all outbound requests, sending each one to the connected peer if it meets certain requirements. This method takes into account the TTL of the
cable_core/src/manager.rs:393
↓ 1 callers
Method
read_noise_message
Read an encrypted message from the receive buffer, decrypt and write it to the message buffer - returning the byte size of the written payload.
handshake/src/post_handshake.rs:20
↓ 1 callers
Method
remove_channel_member
(&mut self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:375
↓ 1 callers
Method
remove_channel_membership_hash
(&mut self, hash: &Hash)
cable_core/src/store.rs:400
↓ 1 callers
Method
remove_channel_topic
(&mut self, hash: &Hash)
cable_core/src/store.rs:519
↓ 1 callers
Method
remove_ex_channel_member
(&mut self, channel: &Channel, public_key: &PublicKey)
cable_core/src/store.rs:465
↓ 1 callers
Method
remove_info_hash
(&mut self, hash: &Hash)
cable_core/src/store.rs:579
↓ 1 callers
Method
remove_live_request
Remove the live request defined by the given peer ID and request ID.
cable_core/src/manager.rs:374
↓ 1 callers
Method
remove_peer_name
(&mut self, hash: &Hash)
cable_core/src/store.rs:648
↓ 1 callers
Method
remove_post
(&mut self, hash: &Hash)
cable_core/src/store.rs:887
↓ 1 callers
Method
remove_post_payload
(&mut self, hash: &Hash)
cable_core/src/store.rs:971
↓ 1 callers
Function
run_client
()
handshake/examples/tcp.rs:55
↓ 1 callers
Function
run_client
()
handshake/examples/unix.rs:58
↓ 1 callers
Function
run_client
()
handshake/examples/async_tcp.rs:55
↓ 1 callers
Function
run_client
(psk: [u8; 32], msg: &str)
handshake/examples/cli.rs:55
↓ 1 callers
Function
run_server
()
handshake/examples/tcp.rs:92
↓ 1 callers
Function
run_server
()
handshake/examples/unix.rs:90
↓ 1 callers
Function
run_server
()
handshake/examples/async_tcp.rs:97
↓ 1 callers
Function
run_server
(psk: [u8; 32], msg: &str)
handshake/examples/cli.rs:85
↓ 1 callers
Method
send
Send a post to the live stream manager.
cable_core/src/stream.rs:50
↓ 1 callers
Function
server_handshake
()
handshake/tests/async_handshake.rs:69
↓ 1 callers
Method
set_keypair
(&mut self, keypair: Keypair)
cable_core/src/store.rs:325
↓ 1 callers
Function
setup
()
handshake/benches/message_sync.rs:22
↓ 1 callers
Function
setup
()
handshake/benches/handshake_sync.rs:19
↓ 1 callers
Method
to_bytes
Convert a `Version` data type to bytes.
handshake/src/version.rs:44
↓ 1 callers
Method
to_bytes_be
(&self)
desert/src/lib.rs:340
↓ 1 callers
Method
to_bytes_le
(&self)
desert/src/lib.rs:350
↓ 1 callers
Function
unfold
(init: T, f: F)
length_prefixed_stream/src/unfold.rs:19
↓ 1 callers
Method
want
(&self, hashes: &[Hash])
cable_core/src/store.rs:990
↓ 1 callers
Method
write_bytes
Write bytes to the given buffer (mutable byte array).
cable/src/post.rs:362
↓ 1 callers
Method
write_bytes
Write bytes to the given buffer (mutable byte array).
cable/src/message.rs:531
↓ 1 callers
Method
write_bytes
Write bytes to the given buffer (mutable byte array).
handshake/src/version.rs:52
↓ 1 callers
Method
write_noise_message
Encrypt and write a message to the send buffer, returning the byte size of the written payload.
handshake/src/post_handshake.rs:132
Function
arrays
()
desert/tests/builtins.rs:72
Function
async_handshake_works
()
handshake/tests/async_handshake.rs:107
Method
backtrace
(&'a self)
cable/src/error.rs:48
Method
backtrace
(&'a self)
desert/src/error.rs:33
Method
backtrace
(&'_ self)
length_prefixed_stream/src/error.rs:32
Function
booleans
()
desert/tests/builtins.rs:47
Function
builtins
()
desert/tests/builtins.rs:4
Function
bytes_to_cancel_request
()
cable/src/message.rs:1249
Function
bytes_to_channel_list_request
()
cable/src/message.rs:1395
Function
bytes_to_channel_list_response
()
cable/src/message.rs:1531
Function
bytes_to_channel_state_request
()
cable/src/message.rs:1349
Function
bytes_to_channel_time_range_request
()
cable/src/message.rs:1293
Function
bytes_to_delete_post
()
cable/src/post.rs:1169
Function
bytes_to_hash_response
()
cable/src/message.rs:1441
Function
bytes_to_info_post
()
cable/src/post.rs:1219
Function
bytes_to_join_post
()
cable/src/post.rs:1315
Function
bytes_to_leave_post
()
cable/src/post.rs:1360
Function
bytes_to_post_request
()
cable/src/message.rs:1201
Function
bytes_to_post_response
()
cable/src/message.rs:1488
Function
bytes_to_text_post
()
cable/src/post.rs:1122
Function
bytes_to_topic_post
()
cable/src/post.rs:1267
Method
cancel_request
Construct a cancel request `Message` with the given parameters.
cable/src/message.rs:75
Function
cancel_request_to_bytes
()
cable/src/message.rs:1018
Method
channel_list_request
Construct a channel list request `Message` with the given parameters.
cable/src/message.rs:131
Function
channel_list_request_to_bytes
()
cable/src/message.rs:1093
Method
channel_list_response
Construct a channel list response `Message` with the given parameters.
cable/src/message.rs:168
Function
channel_list_response_to_bytes
()
cable/src/message.rs:1169
Method
channel_state_request
Construct a channel state request `Message` with the given parameters.
cable/src/message.rs:114
Function
channel_state_request_response
()
cable_core/tests/channel_state.rs:84
Function
channel_state_request_to_bytes
()
cable/src/message.rs:1069
Method
channel_time_range_request
Construct a channel time range request `Message` with the given parameters.
cable/src/message.rs:86
Function
channel_time_range_request_response
()
cable_core/tests/channel_time_range.rs:77
← previous
next →
101–200 of 300, ranked by callers