share

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type FileManager

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

func (*FileManager) Add

func (fm *FileManager) Add(file string) (int, error)

func (*FileManager) HandleRequest

func (fm *FileManager) HandleRequest(peerID string, conn net.Conn)

func (*FileManager) Open

func (fm *FileManager) Open(index int) (*os.File, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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