sender

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender struct {
	TotalFilesSize int64

	TotalNumberOfContents     int
	FilesToTransferCurrentNum int
	// contains filtered or unexported fields
}

func NewSender

func NewSender(opt *options.SenderOptions) *Sender

func (*Sender) Done

func (s *Sender) Done()

func (*Sender) HandleMessage

func (s *Sender) HandleMessage(stream transmit.GrpcStream, msg *proto.Message)

func (*Sender) Send

func (s *Sender) Send(filePaths []string)

Send files

Jump to

Keyboard shortcuts

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