fm

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFileName

func AppendFileName(bin []byte, data string, isDir bool) []byte

func Create

func Create(buffer *bytes.Buffer, path string) []byte

func CreateErr

func CreateErr(err error) []byte

func CreateFile

func CreateFile(buffer *bytes.Buffer, size uint64) []byte

Types

type Task

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

func NewFMClient

func NewFMClient(client pb.NezhaService_IOStreamClient, sftpClient *sftp.Client, td string, printFunc func(string, ...interface{})) *Task

func (*Task) DoTask

func (t *Task) DoTask(data *pb.IOStreamData)

Jump to

Keyboard shortcuts

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