Skip to content

Commit

Permalink
Remove any mentions to self-host
Browse files Browse the repository at this point in the history
  • Loading branch information
bahlo committed Oct 5, 2022
1 parent 628c293 commit bddb6ce
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ static CLOUD_URL: &str = "https://cloud.axiom.co";
/// use axiom_rs::{Client, Error};
///
/// fn main() -> Result<(), Error> {
/// // Create a new client and get the token, url and (if necesary) org id
/// // from the environment variables AXIOM_TOKEN, AXIOM_URL and AXIOM_ORG_ID.
/// // Create a new client and get the token and (if necesary) org id
/// // from the environment variables AXIOM_TOKEN and AXIOM_ORG_ID.
/// let client = Client::new()?;
///
/// // Set all available options. Unset options fall back to environment
Expand Down Expand Up @@ -95,14 +95,6 @@ impl Builder {
self
}

/// Add an URL to the client. If this is not set, the URL will be read
/// from the environment variable `AXIOM_URL`. If that is empty as well,
/// it will fall back to Axiom Cloud.
pub fn with_url<S: Into<String>>(mut self, url: S) -> Self {
self.url = Some(url.into());
self
}

/// Add an organization ID to the client. If this is not set, the
/// organization ID will be read from the environment variable `AXIOM_ORG_ID`.
pub fn with_org_id<S: Into<String>>(mut self, org_id: S) -> Self {
Expand Down

0 comments on commit bddb6ce

Please # to comment.