Developer

Index

All Developer functions

The devloper are used for debugging purposes. So you can break (__break) the debug process or dump information from the process.

Name Function header Example Result Description Errorhandling
__break func() boo [[ $result := ]] $result =
__cache func() string [[ $result := ]] $result =
__data func() string [[ $result := ]] $result =
__debug func(objs …interface{}) string [[ $result := ]] $result =
__dump func() string [[ $result := ]] $result =
__exit func(sec int) bool [[ $result := ]] $result =
__sleep func(sec int) bool [[ $result := ]] $result =
__template func() string [[ $result := ]] $result =
__vars func() string [[ $result := ]] $result =

__break

// TODO

func() bool

The __break function break the function.

Examples


[[ $result := __break ]]
$result = true

__cache

// TODO

func() string

The __cache function returns the cache, which is used in the function.

Application notes / Limits:

  • xx

Examples


[[ $result := __cache ]]
$result = "????"

__data

// TODO

func() string

The __data function returns the data block of the ingrid protocol message

Examples


[[ $result := __data ]]
$result = "????"

__debug

// TODO

func (objs ...interface{}) string

The __debug function …

Application notes / Limits:

  • xx

Examples


[[ $result := indent "This is a test string" 5 ]]
$result = "     This is a test string"

__dump

// TODO

func() string

The __dump function returns the ingrid protocol message data-block, all variables, all global variables, globals and cache.

Examples


[[ $result := __dump ]]
$result = "????"

__exit

// TODO

func(sec int) bool

The __exit function exits the function after amount of seconds is passed.

Examples


[[ $result := __exit 5 ]]
$result = "????"

__sleep

// TODO

func(sec int) bool

The __sleep function sleeps in the function for the amount of seconds.

Application notes / Limits:

  • input value is in seconds

Examples


[[ $result := __sleep 5 ]]
$result = "????"

__template

// TODO

func() string

The __template function returns the used template in this function.

Application notes / Limits:

  • xx

Examples


[[ $result := __template "This is a test string" 5 ]]
$result = "????"

__vars

// TODO

func() string

The __vars function returns all varibales and global variables of the used function.

Examples


[[ $result := __vars ]]
$result = "\n******************* VARS **************************\nLocal:\n---"