revfile

package
v0.0.0-...-d9d0c30 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Revfile

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

func NewRevFile

func NewRevFile(path string) (out Revfile)

新建一个反向文件

func (Revfile) Append

func (rf Revfile) Append(datas [][]byte) error

添加数据

func (Revfile) Openfile

func (rf Revfile) Openfile() (f *os.File, err error)

Append方式打开文件

func (Revfile) Read

func (rf Revfile) Read(cbFunc func(data []byte) (ctn bool))

读取数据

Jump to

Keyboard shortcuts

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