Created
August 25, 2019 19:13
-
-
Save L04DB4L4NC3R/ee8d830309c889ce70ad33ef90219c1c to your computer and use it in GitHub Desktop.
bulk ping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (h *Handler) Ping(c echo.Context) error { | |
err := h.bulkops.Hello.CallPingTask("santhosh") | |
if err != nil { | |
return c.JSON(400, err) | |
} | |
return c.NoContent(http.StatusOK) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment