logtransport

package
v2.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package logtransport provides a transport that logs all of its messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(l *log.Logger, t rpc.Transport) rpc.Transport

New creates a new logger that proxies messages to and from t and logs them to l. If l is nil, then the log package's default logger is used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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