data

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCloser

type ReadCloser interface {
	Read([]byte) (int, error)
	Close() error
}

ReadCloser is an interface

func NewReadCloser

func NewReadCloser(w io.Reader, fn func() error) ReadCloser

NewReadCloser Создание нового объекта на основе io.Reader

type WriteCloser

type WriteCloser interface {
	Write([]byte) (int, error)
	Close() error
}

WriteCloser is an interface

func NewWriteCloser

func NewWriteCloser(w io.Writer) WriteCloser

NewWriteCloser Создание нового объекта на основе io.Writer

Jump to

Keyboard shortcuts

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