[][src]Function hors::answer::get_answers

pub fn get_answers(links: &Vec<String>, conf: Config) -> Result<String>

Get answers from given links.

This function will go through network to find out answers.

Arguments

  • links - the links where answer existed.
  • conf - contains information about get_answer options.

Returns

If search answers successfully, it will return the result string which can be print to terminal directly. Else return an Error.