commanditerator

package
v0.0.0-...-bf68151 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandIterator

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

func New

func New(commands []*data.Command) *CommandIterator

func (*CommandIterator) Advance

func (c *CommandIterator) Advance()

func (*CommandIterator) Choose

func (c *CommandIterator) Choose(branchIndex int)

func (*CommandIterator) Command

func (c *CommandIterator) Command() *data.Command

func (*CommandIterator) DecodeMsgpack

func (c *CommandIterator) DecodeMsgpack(dec *msgpack.Decoder) error

func (*CommandIterator) EncodeMsgpack

func (c *CommandIterator) EncodeMsgpack(enc *msgpack.Encoder) error

func (*CommandIterator) Goto

func (c *CommandIterator) Goto(label string) bool

func (*CommandIterator) IsTerminated

func (c *CommandIterator) IsTerminated() bool

func (*CommandIterator) Rewind

func (c *CommandIterator) Rewind()

func (*CommandIterator) Terminate

func (c *CommandIterator) Terminate()

func (*CommandIterator) TerminateGracefully

func (c *CommandIterator) TerminateGracefully()

Jump to

Keyboard shortcuts

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