Skip to content

Instantly share code, notes, and snippets.

@L04DB4L4NC3R
Created August 25, 2019 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save L04DB4L4NC3R/ee8d830309c889ce70ad33ef90219c1c to your computer and use it in GitHub Desktop.
Save L04DB4L4NC3R/ee8d830309c889ce70ad33ef90219c1c to your computer and use it in GitHub Desktop.
bulk ping
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