Bolt.Sips v2.0.0-rc.1 Bolt.Sips.Router.State View Source
todo: this is work in progress and will be used for defining the state of the Router (Gen)Server
Link to this section Summary
Link to this section Types
Link to this type
role()
View Source
role()
View Source
role() :: atom()
role() :: atom()
Link to this type
t()
View Source
t()
View Source
t() :: %Bolt.Sips.Router.State{
connections: %{
optional(role()) => %{optional(String.t()) => non_neg_integer()},
:updated_at => non_neg_integer(),
:ttl => non_neg_integer()
}
}
t() :: %Bolt.Sips.Router.State{
connections: %{
optional(role()) => %{optional(String.t()) => non_neg_integer()},
:updated_at => non_neg_integer(),
:ttl => non_neg_integer()
}
}