(c *gin.Context, responseID, reason string)
| 1089 | } |
| 1090 | |
| 1091 | func writeTaskPluginResponseNotFound(c *gin.Context, responseID, reason string) { |
| 1092 | logger.LogDebug(c, "task_plugin subsystem=protocol event=retrieve_not_found reason=%s response_id=%q", reason, responseID) |
| 1093 | respondPluginProtocolError(c, http.StatusNotFound, "not_found", "No response found with id '"+responseID+"'.") |
| 1094 | } |
| 1095 | |
| 1096 | func writeTaskPluginProtocolHeartbeat(c *gin.Context) error { |
| 1097 | if _, err := c.Writer.Write([]byte(": PING\n")); err != nil { |
no test coverage detected