api

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileEntity

type FileEntity struct {
	Name      string
	Size      int64
	Lines     int64
	Sum       []byte
	Header    string
	Footer    string
	HashName  bool
	HasSize   bool
	HasLines  bool
	HasSum    bool
	HasHeader bool
	HasFooter bool
}

type IOEvent

type IOEvent interface {
	Setup(customParams interface{}) bool
	Process(reader io.Reader, customParams interface{}) bool
}

type Processor

type Processor struct {
	IOEventImpl []IOEvent
	WatcherImpl Watcher
}

func (Processor) Start

func (fa Processor) Start()

type Watcher

type Watcher interface {
	Watch(event []IOEvent) bool
}

Jump to

Keyboard shortcuts

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