firewaller

package
v0.0.0-...-acd7349 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2013 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Firewaller

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

Firewaller watches the state for ports opened or closed and reflects those changes onto the backing environment.

func NewFirewaller

func NewFirewaller(st *state.State) *Firewaller

NewFirewaller returns a new Firewaller.

func (*Firewaller) Err

func (fw *Firewaller) Err() (reason error)

Err returns the reason why the firewaller has stopped or tomb.ErrStillAlive when it is still alive.

func (*Firewaller) Kill

func (fw *Firewaller) Kill()

Kill implements worker.Worker.Kill.

func (*Firewaller) Stop

func (fw *Firewaller) Stop() error

Stop stops the Firewaller and returns any error encountered while stopping.

func (*Firewaller) String

func (fw *Firewaller) String() string

func (*Firewaller) Wait

func (fw *Firewaller) Wait() error

Wait implements worker.Worker.Wait.

Jump to

Keyboard shortcuts

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