mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-05-14 05:24:21 +00:00
use type where possibel
This commit is contained in:
@@ -3,7 +3,7 @@ title: Create
|
|||||||
sidebar:
|
sidebar:
|
||||||
order: 3
|
order: 3
|
||||||
---
|
---
|
||||||
The string create processor creates a string based on the provided template. This processor will return an error if there is an issue executing the template. The template property is just a [Go template](https://pkg.go.dev/text/template) that will be evaluated with the incoming message provided as an environment.
|
The `string.create` processor creates a string based on the provided template. This processor will return an error if there is an issue executing the template. The template property is just a [Go template](https://pkg.go.dev/text/template) that will be evaluated with the incoming message provided as an environment.
|
||||||
|
|
||||||
- **type**: `string.create`
|
- **type**: `string.create`
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: Decode
|
|||||||
sidebar:
|
sidebar:
|
||||||
order: 1
|
order: 1
|
||||||
---
|
---
|
||||||
The string decode processor takes a array of bytes and turn it into string. This processor will return an error if the message being processed is not an array of bytes.
|
The `string.decode` processor takes a array of bytes and turn it into string. This processor will return an error if the message being processed is not an array of bytes.
|
||||||
|
|
||||||
- **type**: `string.decode`
|
- **type**: `string.decode`
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ title: Encode
|
|||||||
sidebar:
|
sidebar:
|
||||||
order: 2
|
order: 2
|
||||||
---
|
---
|
||||||
The string encode processor takes a string and turns it into an array of bytes. This processor will return an error if the message being processed is not a string.
|
The `string.encode` processor takes a string and turns it into an array of bytes. This processor will return an error if the message being processed is not a string.
|
||||||
|
|
||||||
- **type**: `string.encode`
|
- **type**: `string.encode`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user