ilt

package
Version: v0.0.0-...-5253b6b Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBag

type FakeBag struct {
	Attrs map[string]interface{}
}

FakeBag is a fake implementation of the Bag for testing purposes.

func (*FakeBag) DebugString

func (b *FakeBag) DebugString() string

DebugString is needed to implement the Bag interface.

func (*FakeBag) Done

func (b *FakeBag) Done()

Done indicates the bag can be reclaimed.

func (*FakeBag) Get

func (b *FakeBag) Get(name string) (interface{}, bool)

Get returns an attribute value.

func (*FakeBag) Names

func (b *FakeBag) Names() []string

Names return the names of all the attributes known to this bag.

Source Files

Jump to

Keyboard shortcuts

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