Requiem.Config (requiem v0.4.0)

Config helper module

Link to this section Summary

Link to this section Types

Link to this type

config_key()

Specs

config_key() ::
  :server_name
  | :host
  | :port
  | :dispatcher_pool_size
  | :socket_pool_size
  | :socket_read_timeout
  | :socket_write_timeout
  | :allow_address_routing
  | :token_secret
  | :connection_id_secret
  | :dgram_queue_size
  | :cert_chain
  | :priv_key
  | :verify_locations_file
  | :verify_locations_directory
  | :grease
  | :verify_peer
  | :enable_early_data
  | :application_protos
  | :max_idle_timeout
  | :max_udp_payload_size
  | :initial_max_data
  | :initial_max_stream_data_bidi_local
  | :initial_max_stream_data_bidi_remote
  | :initial_max_stream_data_uni
  | :initial_max_streams_bidi
  | :initial_max_streams_uni
  | :ack_delay_exponent
  | :max_ack_delay
  | :disable_active_migration
  | :cc_algorithm_name
  | :enable_hystart

Link to this section Functions

Link to this function

check_key_existence(opts)

Specs

check_key_existence(Keyword.t()) :: :ok
Link to this function

get(handler, key)

Specs

get(module(), config_key()) :: term() | nil
Link to this function

get!(handler, key)

Specs

get!(module(), config_key()) :: term()
Link to this function

init(handler, otp_app)

Specs

init(module(), atom()) :: no_return()
Link to this function

store(handler, val)

Specs

store(module(), Keyword.t()) :: :ok