Function tdn::prelude::start_with_config_and_key
source ยท pub async fn start_with_config_and_key(
config: Config,
key: PeerKey
) -> Result<(PeerId, Sender<SendMessage>, Receiver<ReceiveMessage>)>
Expand description
start a service with config and PeerKey.