Expand description
Kitsune2 bootstrap server is an HTTP REST server for handling bootstrapping discovery of peer network reachability in p2p applications.
Despite being in the kitsune2 repo, bootstrap_srv
and bootstrap_cli
do not depend on any Kitsune2 crates. This is to ensure the bootstrapping
functionality is well-defined, self-contained, easily testable in
isolation, and usable for projects that don’t choose to make use of
Kitsune2 itself.
That being said, the bootstrap server and client are designed to transfer
the AgentInfoSigned
data type defined in the kitsune2_api
crate. Since
the canonical encoding of that type is JSON, we just redefine a subset
of the schema here, and only validate the parts required for bootstrapping.
For additional details, please see the spec.
Modules§
- spec
- This is a documentation module containing the kitsune2_bootstrap spec.
Structs§
- Bootstrap
Srv - An actual kitsune2_bootstrap_srv server instance.
- Config
- Configuration for running a BootstrapSrv.
- TlsConfig
- Configuration for TLS.