use RwLock;
/// This is a global struct that stores the api key.
/// Usage:
/// ```ignore
/// use dns-wrapper::api::ApiKey;
/// ApiKey.set_apikey("APIKEY");
/// ```
///
/// Should not be needed, but you can retrieve your api key with:
/// ```ignore
/// let api_key = ApiKey::get_apikey().ok_or("API key not set");
/// ```
;
static API_KEY: = new;