snowhite v2.1.3 Snowhite.Modules.News.Server View Source

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Gets server's news feeds

Updates the news feed

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

news() :: [{String.t(), [Snowhite.Modules.News.Item.t()]}]

Gets server's news feeds

Specs

start_link(any()) :: GenServer.on_start()

Specs

update() :: :ok

Updates the news feed