pollin v0.2.1 Pollin.Resource.Endpoint

Endpoint Resource

Link to this section Summary

Functions

Generates new endpoint

Link to this section Types

Link to this type

t()
t() :: %Pollin.Resource.Endpoint{
  created_at: integer(),
  id: charlist(),
  phases: [charlist()],
  secret: charlist(),
  ttl: integer()
}

Link to this section Functions

Link to this function

new(phases, ttl \\ 900000)

Generates new endpoint