basic

package
v0.0.0-...-f3d8a94 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FdT = &abc.Type{"fd", false, func(x interface{}) (ok bool) { _, ok = x.(Fd); return }}

male side sends reader (or nil if it has no preference); female replies with the actual fd to use (or nil if there's been an error)

Functions

func Use

func Use()

Types

type Fd

type Fd chan fdRequest

func NewFd

func NewFd() Fd

func (Fd) GetReader

func (fd Fd) GetReader() io.Reader

female side

func (Fd) GetWriter

func (fd Fd) GetWriter(r io.Reader) io.Writer

male side

func (Fd) PutWriter

func (fd Fd) PutWriter(w io.Writer)

female side

Jump to

Keyboard shortcuts

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