Module hotshot::traits::networking::push_cdn_network

source ·
Expand description

The Push CDN network

Structs§

  • The broker definition for the Push CDN. Uses the TCP protocol and trusted middleware.
  • CDN-specific metrics
  • The client definition for the Push CDN. Uses the TCP+TLS protocol and no middleware. Differs from the user definition in that is on the client-side.
  • We encapsulate keys here to help readability.
  • The production run definition for the Push CDN. Uses the real protocols and a Redis discovery client.
  • A communication channel to the Push CDN, which is a collection of brokers and a marshal that helps organize them all. Is generic over both the type of key and the network protocol.
  • The testing run definition for the Push CDN. Uses the real protocols, but with an embedded discovery client.
  • The user definition for the Push CDN. Uses the TCP+TLS protocol and untrusted middleware.
  • A wrapped SignatureKey. We need to implement the Push CDN’s SignatureScheme trait in order to sign and verify messages to/from the CDN.

Enums§

  • The enum for the topics we can subscribe to in the Push CDN