sender

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BlockSize max size for a single packet is 65535 for pion/sctp
	BlockSize = 65000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender struct {
	Session *conn.Session
}

func New

func New() *Sender

func (*Sender) ProposeTransfer

func (s *Sender) ProposeTransfer(ftList []utils.FileTransfer, answerStr string) error

func (*Sender) SendFiles added in v0.0.8

func (s *Sender) SendFiles(ftList []utils.FileTransfer) error

func (*Sender) SetupSenderConn

func (s *Sender) SetupSenderConn() (string, error)

Jump to

Keyboard shortcuts

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