View Source Store.Strategy (fnord v0.6.4)

This module provides access to canned research strategies. Strategies are stored in data/strategies.yaml in the repo, but are read into this module at compile time, so the file itself is not a part of the release binary.

Summary

Functions

Returns a single research strategy by its title.

Returns a map of research strategies where each key is the title.

Functions

get(title)

@spec get(String.t()) :: {:ok, String.t()} | {:error, :not_found}

Returns a single research strategy by its title.

list()

Returns a map of research strategies where each key is the title.