Wayfarer.Dsl.Target (wayfarer v0.6.4)

View Source

A struct for storing a target generated by the DSL.

Summary

Types

t()

@type t() :: %Wayfarer.Dsl.Target{
  __spark_metadata__: term(),
  address: IP.Address.t(),
  health_checks: Wayfarer.Dsl.HealthChecks.t(),
  module: nil | module(),
  name: nil | String.t(),
  port: :inet.port_number(),
  scheme: :http | :https | :plug | :ws | :wss,
  transport: :http1 | :http2 | :auto,
  uri: URI.t()
}