axslog

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 6 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 BFloat64 added in v0.0.3

func BFloat64(b []byte) (float64, error)

BFloat64 :

func BInt added in v0.0.3

func BInt(b []byte) (int, error)

BInt :

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 int)

Append :

func (*Stats) Display added in v0.0.5

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

Display :

func (*Stats) GetTotal added in v0.0.5

func (s *Stats) GetTotal() float64

GetTotal :

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