Documentation
¶
Index ¶
- func FormattedErrorGenerator(c *gin.Context, statusCode int, error string, message string, ...)
- func GenerateHMACSignature(payload []byte, secret string) string
- func SendWebhook(url string, secret string, event string, data interface{}) error
- func UploadImage(c *gin.Context, fieldName string, destFolder string) (string, error)
- type WebhookPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormattedErrorGenerator ¶
func GenerateHMACSignature ¶
func SendWebhook ¶
Types ¶
type WebhookPayload ¶
Click to show internal directories.
Click to hide internal directories.