stat

package
v0.0.0-...-6e4d8ea Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQueue

func GetQueue(ctx ssh.Context) *queue.FixedQueue

func Put

func Put(ctx ssh.Context, w *http.Response, r *http.Request, t int64)

Types

type RequestEntity

type RequestEntity struct {
	*http.Response
	*http.Request
	UseTime int64
}

type Stat

type Stat struct {
	Receive   int64
	Send      int64
	Request   int
	Response  int
	ConnCount int
	TotalConn int
}

func GetStat

func GetStat(ctx ssh.Context) *Stat

Jump to

Keyboard shortcuts

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