trafficmon

package
v0.0.0-...-df37d59 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Survey

type Survey struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Survey) Data

func (s *Survey) Data() (int64, int64)

func (*Survey) Init

func (s *Survey) Init(length, intval int)

func (*Survey) Latency

func (s *Survey) Latency(nsec int64)

func (*Survey) PNG

func (s *Survey) PNG(h0 int, xScale int, xTickMinute int, xTickSubMinute int, extra string) *bytes.Buffer

PNG xScale should be an even number

func (*Survey) Recv

func (s *Survey) Recv(size int64) *Survey

func (*Survey) SVG

func (s *Survey) SVG(w, h int, logarithm bool) *bytes.Buffer

func (*Survey) Send

func (s *Survey) Send(size int64) *Survey

func (*Survey) Update

func (s *Survey) Update()

Jump to

Keyboard shortcuts

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