Documentation
¶
Index ¶
- type Engine
- func (e *Engine) GetVariable(name string) []byte
- func (e *Engine) Help() []byte
- func (e *Engine) Log(parms ...interface{})
- func (e *Engine) LogStack()
- func (e *Engine) LogValues()
- func (e *Engine) Logf(format string, parms ...interface{})
- func (e *Engine) PushStack(value []byte)
- func (e *Engine) Reset()
- func (e *Engine) Run(commands []string) ([]byte, error)
- func (e *Engine) SetVariable(name string, value []byte)
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { DebugMode bool // contains filtered or unexported fields }
The Engine is the processing logic of the hash server
func (*Engine) GetVariable ¶
GetVariable returns the value of a variable in the engine
func (*Engine) Log ¶
func (e *Engine) Log(parms ...interface{})
Log writes information to the debug log
func (*Engine) PushStack ¶
PushStack is used to intialize the stack of the engine. It is typically used to set the initial value to operate on.
func (*Engine) SetVariable ¶
SetVariable sets a variable for the engine to use
Click to show internal directories.
Click to hide internal directories.