(_ string, payload []byte)
| 183 | } |
| 184 | |
| 185 | func (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 | |
| 192 | func (f Formatter) FormatResult(_ string, payload []byte) string { |
| 193 | var pack map[string]interface{} |
nothing calls this directly
no test coverage detected