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()?;
# Ok::<(), hotln::Error>(())