You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/paypal/ionet

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/paypal/ionet

v0.0.0-20130919195445-ed0aaebc5417
Source
Go
Version published
Created
Source

Build Status

ionet provides a net.Conn and a net.Listener in which connections use an io.Reader and an io.Writer instead of a traditional network stack.

This can be handy in unit tests, because it enables you to mock out the network.

It's also useful when using an external network stack. At PayPal, ionet is used in PayPal Beacon. Beacon uses a Bluetooth Low Energy chip accessed over a serial connection. ionet enables the use of net-based code, such as the stdlib's [net/http]((http://golang.org/pkg/net/http/), with a mediated network.

go get github.com/paypal/ionet

See godoc for usage.

ionet requires Go 1.1 or later, and is released under a BSD-style license similar to Go's.

FAQs

Package last updated on 19 Sep 2013

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.