Skip to main content

Crate hotln

Crate hotln 

Source
Expand description

File bug reports to issue trackers from your application.

Supports Linear and GitHub Issues. Reports are sent through a proxy server that holds API credentials.

// GitHub
hotln::github("https://worker.example.com")
    .with_token("secret")
    .title("crash on startup")
    .text("Details here.")
    .file("log.txt", "log contents")
    .create()?;

// Linear
hotln::linear("https://worker.example.com")
    .with_token("secret")
    .title("crash on startup")
    .text("Details.")
    .attachment("crash.log", b"log data")
    .create()?;

Re-exports§

pub use ureq;

Structs§

GitHubIssue
LinearIssue

Enums§

Error

Functions§

github
Create a GitHub issue builder that posts through a proxy.
linear
Create a Linear issue builder that posts through a proxy.