Documentation
¶
Index ¶
- func AsProtobufMessage(source interface{}, state data.Map, target proto.Message) (interface{}, error)
- func DateOfBirth(source interface{}, state data.Map) (interface{}, error)
- func FromProtobufMessage(source interface{}, state data.Map, sourceMessage proto.Message) (interface{}, error)
- func Hostname(source interface{}, state data.Map) (interface{}, error)
- func TransformWithUDF(context *endly.Context, udfName, source string, payload interface{}) (interface{}, error)
- func URLJoin(source interface{}, state data.Map) (interface{}, error)
- func URLPath(source interface{}, state data.Map) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsProtobufMessage ¶
func AsProtobufMessage(source interface{}, state data.Map, target proto.Message) (interface{}, error)
AsProtobufMessage generic method for converting a map, or json string into a proto message
func DateOfBirth ¶
DateOfBirth returns formatted date of birth
func FromProtobufMessage ¶
func FromProtobufMessage(source interface{}, state data.Map, sourceMessage proto.Message) (interface{}, error)
FromProtobufMessage generic method for converting a proto message into a map
func TransformWithUDF ¶
func TransformWithUDF(context *endly.Context, udfName, source string, payload interface{}) (interface{}, error)
TransformWithUDF transform payload with provided UDF name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.