transport

package
v0.0.0-...-b285d58 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetState

func GetState(now time.Time) (txTPS, rxTPS float64)

func Startup

func Startup(ctx context.Context, wg *sync.WaitGroup)

func UploadFile

func UploadFile(req UploadRequest) (err error)

Types

type UploadRequest

type UploadRequest struct {
	Path    string `json:"path"`
	BufSize int64  `json:"buf_size"`
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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