splice

package module
v0.0.0-...-e8b84f1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(dst, src FD, opts ...Option) (int64, error)

Types

type FD

type FD interface {
	SyscallConn() (syscall.RawConn, error)
}

type Option

type Option func(opts *Options)

func WithBufSize

func WithBufSize(size int) Option

func WithProgressHandler

func WithProgressHandler(h ProgressHandler) Option

type Options

type Options struct {
	// contains filtered or unexported fields
}

type ProgressHandler

type ProgressHandler func(n int64)

Jump to

Keyboard shortcuts

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