parser

package
v0.0.0-...-3fd51b5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArcFormat            = "arc"
	LirsFormat           = "lirs"
	OracleGeneralFormat  = "oracleGeneral"
	LibcachesimCSVFormat = "libcachesimCSV"
)

Variables

View Source
var ErrInvalidFormat = errors.New("invalid trace format")

Functions

func IsAvailableFormat

func IsAvailableFormat(format string) bool

func WrapError

func WrapError(err error) error

Types

type ARC

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

func NewARC

func NewARC(reader io.Reader) *ARC

func (*ARC) Parse

func (a *ARC) Parse(send func(event event.AccessEvent) bool) (bool, error)

type LIRS

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

func NewLIRS

func NewLIRS(reader io.Reader) *LIRS

func (*LIRS) Parse

func (l *LIRS) Parse(send func(event event.AccessEvent) bool) (bool, error)

type OracleGeneral

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

func NewOracleGeneral

func NewOracleGeneral(reader io.Reader) *OracleGeneral

func (*OracleGeneral) Parse

func (og *OracleGeneral) Parse(send func(event event.AccessEvent) bool) (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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