Skip to content

server

Structs

  • GatewayListener - Gateway-side listener: accepts Sidecar connections and serves them from the

firma_secret_provider::gateway::server::GatewayListener

Section titled “firma_secret_provider::gateway::server::GatewayListener”

Struct

Gateway-side listener: accepts Sidecar connections and serves them from the shared [SecretStore].

Methods:

  • fn bind(endpoint: &ServerEndpoint, config: GatewayConfig) -> io::Result<Self> - Bind a listener at endpoint with config.
  • fn bound_endpoint(self: &Self) -> io::Result<EndpointInner> - Return the address this listener is actually bound to.
  • fn serve_forever(self: Self, store: Arc<RwLock<SecretStore>>) - Accept and serve secret.resolve / secret.push connections

Trait Implementations:

  • Drop
    • fn drop(self: & mut Self)