Function chamomile::prelude::start_with_key
source · pub async fn start_with_key(
config: Config,
key: Key
) -> Result<(PeerId, Sender<SendMessage>, Receiver<ReceiveMessage>)>
Expand description
main function. start a p2p service with given secret key.