crt

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeFormat = "2006-01-02 15:04:05.000"
)

Variables

View Source
var (
	Args struct {
		Cycles   uint
		Interval uint
		LifeTime uint
		Debug    uint
		Justime  uint
	}
)

Functions

func Run

func Run(app AppTracer, args *map[string]uint)

Types

type AppTracer

type AppTracer interface {
	FlagParse()
	Initialize() (*tracer.Tracer, error)
	DoJob(t *tracer.Tracer, start time.Time)
}

type LogLevel

type LogLevel uint
const (
	Error LogLevel = iota
	Major
	Minor
	Info
	Debug
	Always
)

Jump to

Keyboard shortcuts

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