recorder

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Overview

Package recorder records streams.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(log *logrus.Logger, cfg *config.Config) *Manager

func (*Manager) Dispatch

func (m *Manager) Dispatch(event *dispatcher.Event) error

func (*Manager) DispatchTypes

func (m *Manager) DispatchTypes() []enum.EventTypeID

func (*Manager) DispatcherType

func (m *Manager) DispatcherType() enum.DispatcherTypeID

func (*Manager) MonitorParserStatus

func (m *Manager) MonitorParserStatus()

func (*Manager) Split

func (m *Manager) Split()

func (*Manager) Stop

func (m *Manager) Stop()

type Recorder

type Recorder interface {
	Start() error
	Stop()
	StartTime() time.Time
	Done() <-chan struct{}
	Out() string
	Bout() config.Bout
}

func NewRecorder

func NewRecorder(log *logrus.Logger, bout config.Bout) (Recorder, error)

type Splitter

type Splitter interface {
	Split()
}

Jump to

Keyboard shortcuts

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