NosLib v0.2.0 NosLib.AuthSerializer View Source

Authentification response serializer.

Link to this section Summary

Link to this section Types

Link to this type

authenticated()

View Source
authenticated() :: %{session_id: pos_integer(), worlds: [world()]}
Link to this type

channel()

View Source
channel() :: %{
  id: pos_integer(),
  slot: pos_integer(),
  ip: binary(),
  port: pos_integer(),
  population: pos_integer(),
  capacity: pos_integer()
}
Link to this type

world()

View Source
world() :: %{id: pos_integer(), channels: [channel()]}

Link to this section Functions

Link to this function

render(atom, param)

View Source
render(:authenticated, authenticated()) :: [binary()]