monitor

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InboundStats

type InboundStats struct {
	// contains filtered or unexported fields
}

func NewInboundStats

func NewInboundStats() *InboundStats

func (*InboundStats) All

func (s *InboundStats) All() map[string]*Stats

func (*InboundStats) Get

func (s *InboundStats) Get(tag string) *Stats

if not found, a InboundStats will be created

func (*InboundStats) Remove

func (s *InboundStats) Remove(tag string)

type Stats

type Stats struct {
	Traffic atomic.Uint64
}

func NewStats

func NewStats() *Stats

Jump to

Keyboard shortcuts

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