internal

package
v0.0.0-...-f1bdcb5 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FloatInSlice

func FloatInSlice(value float64, slice []float64) bool

func IsFileExists

func IsFileExists(filename string) error

func StringInSlice

func StringInSlice(value string, slice []string) bool

Types

type ReaderCloserCallback

type ReaderCloserCallback struct {
	ReadCloser io.ReadCloser
	Callback   func([]byte, int) ([]byte, error)
	// contains filtered or unexported fields
}

func NewReaderCloserCallback

func NewReaderCloserCallback(reader io.ReadCloser, callback func([]byte, int) ([]byte, error)) *ReaderCloserCallback

func (*ReaderCloserCallback) Close

func (r *ReaderCloserCallback) Close() error

func (*ReaderCloserCallback) Read

func (r *ReaderCloserCallback) Read(p []byte) (n int, err error)

Directories

Path Synopsis
net

Jump to

Keyboard shortcuts

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