filepool

package
v0.0.0-...-63958af Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

* This is to stay within the limits of the maximum amount of open files per thread. * Sort of an worker pool, but then also handling the fileopening.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilePool

func NewFilePool(limit uint64) *filePool

func TestfilePool

func TestfilePool()

Types

type FilePool

type FilePool interface {
	OpenFile(string) *openFile
	Wait()
}

Jump to

Keyboard shortcuts

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