shield

package
v0.0.0-...-9a529fd Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	ThroughIn() error // Try to pass through, will fail if the shield has been passed too many times
	ThroughOut()      // Terminate a previous session
}

Interfaces materializes the public API of a shield.

func New

func New(size uint) Interface

New constructs a new shield with the given size

Jump to

Keyboard shortcuts

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