Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventArgPrefix = "$." EventDataArgPrefix = EventArgPrefix + "data" EventDataSubArgPrefix = "@." )
Variables ¶
View Source
var ( EventList = []Type{EventAttribute, EventData} All = []Type{EventAttribute, EventData, Constant, Define} )
View Source
var ( ErrOperationNotSupport = fmt.Errorf("operation not support") ErrArgValueNil = fmt.Errorf("arg value is nil") )
Functions ¶
This section is empty.
Types ¶
type Arg ¶
type Arg interface {
Type() Type
Name() string
Original() string
// Evaluate arg value
Evaluate(ceCtx *context.EventContext) (interface{}, error)
SetValue(ceCtx *context.EventContext, v interface{}) error
DeleteValue(ceCtx *context.EventContext) error
}
Click to show internal directories.
Click to hide internal directories.