meterconn

package
v3.3.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapConn

func WrapConn(bwc metrics.Reporter, c transport.Conn) transport.Conn

Types

type MeteredConn

type MeteredConn struct {
	transport.Conn
	// contains filtered or unexported fields
}

func (*MeteredConn) Read

func (mc *MeteredConn) Read(b []byte) (int, error)

func (*MeteredConn) Write

func (mc *MeteredConn) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL