Structs§
- Chammomile Configs.
- The keypair, include pk, sk, address
- peer’s network id.
Enums§
- support some common broadcast algorithm.
- delivery message type.
- main received message for outside channel, send from chamomile to outside.
- main send message for outside channel, send from outside to chamomile.
- Network state info response.
- Network state info response.
- Custom apply for build a stream between nodes.
- Transports types support by Endpoint.
Functions§
- new a channel for receive the chamomile message.
- new a channel for send message to the chamomile.
- main function. start a p2p service.
- main function. start a p2p service with given secret key.