closer

package
v0.0.0-...-3d1188e Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIsClosed = errors.New("closer is closed")

Functions

This section is empty.

Types

type Closer

type Closer interface {
	AddCloseFn(fn func())
	CloseErr(err error) error
	Close() error
	Err() error
}

func NewCloser

func NewCloser() Closer

Jump to

Keyboard shortcuts

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