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

Method responsePaymentRequired

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

Source from the content-addressed store, hash-verified

69}
70
71func (h *handler) responsePaymentRequired(c fiber.Ctx, message string) error {
72 return c.Status(fiber.StatusPaymentRequired).JSON(fiber.Map{
73 "status": "error",
74 "message": message,
75 })
76}
77
78func (h *handler) responseNoContent(c fiber.Ctx, message string) error {
79 return c.Status(fiber.StatusNoContent).JSON(fiber.Map{

Callers 9

MessagesMethod · 0.80
StoreMethod · 0.80
StoreMethod · 0.80
StoreMethod · 0.80
storeMethod · 0.80
StoreMethod · 0.80
PostSendMethod · 0.80
BulkSendMethod · 0.80
PostReceiveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected