axslog

package
v0.4.16 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// PtimeFlag : ptime is exists
	PtimeFlag = 1
	// StatusFlag : stattus is exists
	StatusFlag = 2
	// AllFlagOK : all OK
	AllFlagOK = 3
)

Functions

func DisplayAll added in v0.2.1

func DisplayAll(statsAll []*Stats, keyPrefix string) string

DisplayAll :

Types

type Reader

type Reader interface {
	Parse([]byte) (int, []byte, []byte)
}

Reader :

type Stats added in v0.0.5

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

Stats :

func NewStats added in v0.0.5

func NewStats() *Stats

NewStats :

func (*Stats) Append added in v0.0.5

func (s *Stats) Append(ptime float64, status int64)

Append :

func (*Stats) Display added in v0.0.5

func (s *Stats) Display(keyPrefix string) string

Display :

func (*Stats) Dump added in v0.4.15

func (s *Stats) Dump() map[string]float64

Dump status for debug/test

func (*Stats) SetDuration added in v0.2.1

func (s *Stats) SetDuration(d float64)

SetDuration :

type StatsCh added in v0.2.1

type StatsCh struct {
	Stats   *Stats
	Logfile string
	Err     error
}

StatsCh :

Jump to

Keyboard shortcuts

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