mod response;
use response::Root;
use crate::{utils::http_get, VtClient, VtResult};
impl VtClient {
pub fn domain_info(&self, domain: &str) -> VtResult<Root> {
let url = format!("{}/domains/{}", &self.endpoint, domain);
http_get(&self.api_key, &self.user_agent, &url)
}
}