Module admin

Source

Structs§

CertKeyPair
CertKeyPair wraps a self signed certificate and the corresponding public key
Labels
ReqwestClient
Reqwest client holds the global client for remote_push api calls it also holds the username and password. The client has an underlying connection pool. See reqwest documentation for details

Functions§

app
App will configure our routes. This fn is also used to instrument our tests
create_server_cert_default_allow
Default allow mode for server, we don’t verify clients, everything is accepted
create_server_cert_enforce_peer
Verify clients against sui blockchain, clients that are not found in sui_getValidators will be rejected
generate_self_cert
Generate server certs for use with peer verification
make_reqwest_client
server
Server creates our http/https server
shutdown_signal
Configure our graceful shutdown scenarios