LemonGateway.Transports.Webhook.Config (lemon_gateway v0.1.0)

View Source

Runtime config and integration lookup helpers for the webhook transport.

Summary

Functions

bind_ip(cfg)

@spec bind_ip(map()) :: :loopback | :any | tuple()

config()

@spec config() :: map()

default_engine()

@spec default_engine() :: binary()

enabled?()

@spec enabled?() :: boolean()

integration_config(integration_id)

@spec integration_config(binary()) :: map() | nil

port(cfg)

@spec port(map()) :: non_neg_integer()