Blur v0.2.1-beta3 Blur.Channel.Config View Source

Config for the channel

  • Loads from a data file in data/#channel/x.json

Link to this section Summary

Functions

Load config from a json file.

Link to this section Functions

Link to this function

load_from_file(channel, type)

View Source

Specs

load_from_file(channel :: binary(), type :: binary()) ::
  Poison.Parser.t() | no_return() | nil

Load config from a json file.