MCPcopy Index your code
hub / github.com/frain-dev/convoy / FormatPayload

Method FormatPayload

queue/redis/client.go:185–190  ·  view source on GitHub ↗
(_ string, payload []byte)

Source from the content-addressed store, hash-verified

183}
184
185func (f Formatter) FormatPayload(_ string, payload []byte) string {
186 var pack map[string]interface{}
187 _ = msgpack.DecodeMsgPack(payload, &pack)
188 bytes, _ := json.Marshal(pack)
189 return string(bytes)
190}
191
192func (f Formatter) FormatResult(_ string, payload []byte) string {
193 var pack map[string]interface{}

Callers

nothing calls this directly

Calls 1

DecodeMsgPackFunction · 0.92

Tested by

no test coverage detected