processbar

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeScreenProcess added in v1.9.6

type FakeScreenProcess struct {
}

func (*FakeScreenProcess) Close added in v1.9.6

func (s *FakeScreenProcess) Close()

func (*FakeScreenProcess) WriteData added in v1.9.6

func (s *FakeScreenProcess) WriteData(data *ProcessData)

type ProcessBar

type ProcessBar interface {
	WriteData(data *ProcessData)
	Close()
}

type ProcessData

type ProcessData struct {
	SuccessIndex uint64
	SendIndex    uint64
	QueueLength  int64
	RecvIndex    uint64
	FaildIndex   uint64
	Elapsed      int
}

type ScreenProcess

type ScreenProcess struct {
}

func (*ScreenProcess) Close

func (s *ScreenProcess) Close()

func (*ScreenProcess) WriteData

func (s *ScreenProcess) WriteData(data *ProcessData)

Jump to

Keyboard shortcuts

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