multicloser

package
v0.0.0-...-2a2fe1c Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiCloser

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

MultiCloser wraps multiple io.Closer interfaces

func Wrap

func Wrap(closers ...io.Closer) *MultiCloser

Wrap creates io.Closer that encapsulates multiple io.Closer interfaces

func (MultiCloser) Close

func (m MultiCloser) Close() error

Close implements io.Closer

Jump to

Keyboard shortcuts

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