Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutionID ¶
func ExecutionID() string
Types ¶
type Context ¶
type Context struct { Parent *Context `ko:"name=parent"` Source string `ko:"name=source"` // source location of this invocation Context context.Context `ko:"name=context"` Kill <-chan struct{} `ko:"name=kill"` // closure on this channel is a kill signal }
Context is runtime context passed to Go operator implementations.
func CompilerContext ¶
func CompilerContext() *Context
func NewContext ¶
func NewContext() *Context
type Fault ¶
type Fault struct { Context *Context `ko:"name=context"` // context passed to callee (which emitted error or panic) Panic interface{} `ko:"name=panic"` // set if call panicked GoStack []byte `ko:"name=goStack"` }
Fault represents a panic occurring while calling a subfunction from the returning function.
Click to show internal directories.
Click to hide internal directories.