New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gitlab.com/lonvale/sharklaser

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab.com/lonvale/sharklaser

  • v0.0.0-20180324192214-a9a74a5cd7dd
  • Source
  • Go
  • Socket score

Version published
Created
Source

Sharklaser is a golang library for interfacing with the Guerrilla Mail disposable e-mail service API. It is named after one of Guerrilla Mail's most memorable domain names.

Obtaining it

Once you've set up go, this should do it:

go get -u gitlab.com/lonvale/sharklaser

Using it

Usage is centred around the Sharklaser type:

shark := sharklaser.New() // Initialise.
getaddr_err := shark.SLGetAddr() // Obtain a disposable address (accessible at shark.EmailAddr).
getmail_err := shark.SLUpdate() // Check for e-mail (saved to shark.Emails)
mail_body, fetch_err := shark.SLFetchEmail(0) // Retrieve body for e-mail at index 0.
shark.ForgetMe() // Discard address.

For a usage example, the brave-hearted can try to make sense of our very own grrla text-mode client.

API is not to be considered stable at this point. Changes in function signatures and whatnot are likely in the next stages of development. Exercise caution.

License

Sharklaser is Free Software made available under the terms of the GNU General Public License, version 3 or later.

FAQs

Package last updated on 24 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc