iodetector

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Paths          []string `toml:"paths"`
	SuicideTimeout int      `toml:"timeout"`
	FlushInterval  int      `toml:"flush-interval"`
}

func NewIODetector

func NewIODetector() *Config

func (*Config) Validate

func (c *Config) Validate() error

type IODetector

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

func OpenIODetection

func OpenIODetection(cfg *Config) *IODetector

func (*IODetector) Close

func (d *IODetector) Close()

Jump to

Keyboard shortcuts

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