(c *gin.Context, responseID, reason string)
| 1064 | } |
| 1065 | |
| 1066 | func writeTaskPluginResponseNotFound(c *gin.Context, responseID, reason string) { |
| 1067 | logger.LogDebug(c, "task_plugin subsystem=protocol event=retrieve_not_found reason=%s response_id=%q", reason, responseID) |
| 1068 | respondPluginProtocolError(c, http.StatusNotFound, "not_found", "No response found with id '"+responseID+"'.") |
| 1069 | } |
| 1070 | |
| 1071 | func writeTaskPluginProtocolHeartbeat(c *gin.Context) error { |
| 1072 | if _, err := c.Writer.Write([]byte(": PING\n")); err != nil { |
no test coverage detected