Documentation
¶
Index ¶
- func ParseJSONToMap(msg []byte) (map[string]interface{}, error)
- func ProcessGraphQLTemplate(graphqlTemplate string, messageData map[string]interface{}) (string, error)
- func ProcessTemplate(template map[string]interface{}, messageData map[string]interface{}) ([]byte, error)
- func ReadRequestBody(resp *http.Response) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseJSONToMap ¶
ParseJSONToMap parses the JSON message and returns the map
func ProcessGraphQLTemplate ¶ added in v0.1.0
func ProcessGraphQLTemplate(graphqlTemplate string, messageData map[string]interface{}) (string, error)
ProcessGraphQLTemplate processes the graphql template and returns the processed body
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.