interpreter

package
v0.0.0-...-0ab47bb Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interpreter

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

Interpreter core struct

func GetInterpreter

func GetInterpreter() *Interpreter

GetInterpreter intatiates this interpreter

func (*Interpreter) GetLatest

func (i *Interpreter) GetLatest() (string, error)

GetLatest gets the last motion information

func (*Interpreter) StoreAlive

func (i *Interpreter) StoreAlive(msg []byte) bool

StoreAlive stores an alive message

func (*Interpreter) StoreMotion

func (i *Interpreter) StoreMotion(msg []byte) bool

StoreMotion stores a motion message

Jump to

Keyboard shortcuts

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