closer

package
v0.0.0-...-d80a93d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2016 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Closer

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

func NewCloser

func NewCloser() *Closer

func (*Closer) AddCloser

func (c *Closer) AddCloser(closer ICloser)

func (*Closer) Run

func (c *Closer) Run() (os.Signal, error)

type ICloser

type ICloser interface {
	Close() error
}

Jump to

Keyboard shortcuts

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