treewalker v0.4.1
  • Pages
  • Modules

    View Source treewalker_dispatcher (treewalker v0.4.1)

    Link to this section Summary

    Types

    config/0
    id/0
    url/0

    Functions

    handle_call(Request, From, State)
    handle_cast(Msg, State)
    handle_info(Message, State)
    init(_)
    request(Id, Url)
    start_link(Id, Config)
    terminate(Reason, State)

    Link to this section Types

    Link to this type

    config/0

    View Source
    -type config() :: treewalker_crawler_config:config().
    Link to this type

    id/0

    View Source
    -type id() :: treewalker_crawler_sup:dispatcher_id().
    Link to this type

    url/0

    View Source
    -type url() :: treewalker_page:url().

    Link to this section Functions

    Link to this function

    handle_call(Request, From, State)

    View Source
    Link to this function

    handle_cast(Msg, State)

    View Source
    Link to this function

    handle_info(Message, State)

    View Source
    Link to this function

    init(_)

    View Source
    Link to this function

    request(Id, Url)

    View Source
    -spec request(id(), url()) -> {ok, reference()} | {error, term()}.
    Link to this function

    start_link(Id, Config)

    View Source
    -spec start_link(id(), config()) -> {ok, pid()} | {error, term()}.
    Link to this function

    terminate(Reason, State)

    View Source

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.3) for the Elixir programming language