MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / responseAccepted

Method responseAccepted

api/pkg/handlers/handler.go:85–90  ·  view source on GitHub ↗
(c fiber.Ctx, message string)

Source from the content-addressed store, hash-verified

83}
84
85func (h *handler) responseAccepted(c fiber.Ctx, message string) error {
86 return c.Status(fiber.StatusAccepted).JSON(fiber.Map{
87 "status": "success",
88 "message": message,
89 })
90}
91
92func (h *handler) responseOK(c fiber.Ctx, message string, data interface{}) error {
93 return c.Status(fiber.StatusOK).JSON(fiber.Map{

Callers 1

StoreMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected