statemachine

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 License: BSD-2-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FIRST_STATE = GEN_ADDRESSES
View Source
var LAST_STATE = EMIT_METRICS

Functions

func InitStateFile

func InitStateFile(filePath string) error

func ResetStateFile

func ResetStateFile(filePath string) error

func RunStateMachine

func RunStateMachine() error

func SetStateFile

func SetStateFile(filePath string, curState State) error

Types

type State

type State int8
const (
	GEN_ADDRESSES State = iota
	PING_SCAN_ADDR
	PING_SCAN_ALIAS_REMOVAL
	FAN_OUT_NYBBLE_ADJACENT
	FAN_OUT_NYBBLE_ADJACENT_ALIAS_REMOVAL
	FAN_OUT_64
	FAN_OUT_64_ALIAS_REMOVAL
	CLEAN_UP
	EMIT_METRICS
)

noinspection GoSnakeCaseUsage

Jump to

Keyboard shortcuts

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