agala v2.0.0 Agala.Bot.Storage.Local
Basic Agala.Storage
implimentation. The data is stored in Agent
, that is started
under Agala.Bot
supervisor tree.
Link to this section Summary
Functions
Callback implementation for Agala.Bot.Storage.get/2
Callback implementation for Agala.Bot.Storage.set/3
Link to this section Functions
Link to this function
get(bot_params, key)
get(bot_params :: Agala.BotParams.t, key :: Map.key) :: any
Callback implementation for Agala.Bot.Storage.get/2
.
Link to this function
set(bot_params, key, value)
set(bot_params :: Agala.BotParams.t, key :: Map.key, value :: Map.value) :: {:ok, Map.value}
Callback implementation for Agala.Bot.Storage.set/3
.