stream

package
v0.0.0-...-ff33c78 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	Queue chan *Event
	Quit  chan struct{}
}

func NewConsumer

func NewConsumer() *Consumer

func (*Consumer) Run

func (c *Consumer) Run() error

type Event

type Event struct {
	EType  event.EType
	Params []event.Param
}

func (*Event) Format

func (e *Event) Format() string

type Producer

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

func NewProducer

func NewProducer(config *config.Config, consumer *Consumer) *Producer

func (*Producer) BufferStatsCallback

func (p *Producer) BufferStatsCallback(*evntrace.EventTraceLogFile) uintptr

func (*Producer) ProcessEventCallback

func (p *Producer) ProcessEventCallback(evt *tdh.EventRecord) uintptr

func (*Producer) Start

func (p *Producer) Start() error

Jump to

Keyboard shortcuts

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