Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostReceiveWebhook ¶
func PostReceiveWebhook(l zerolog.Logger, ent *connection.EntConnection) gin.HandlerFunc
Types ¶
type WebhookRequest ¶
type WebhookRequest struct { WebhookId string `json:"webhook_id"` RequestId string `json:"request_id"` Type string `json:"type"` CreatedAt int `json:"created_at"` Data struct { CreatedAt int `json:"created_at"` Finalized bool `json:"finalized"` Id int `json:"id"` MessageCount int `json:"message_count"` Network struct { AnchorId int `json:"anchor_id"` CreatedAt int `json:"created_at"` Name string `json:"name"` Status string `json:"status"` Test bool `json:"test"` TxHash string `json:"tx_hash"` } `json:"network"` Root string `json:"root"` Test bool `json:"test"` } `json:"data"` }
type WebhookResponse ¶
type WebhookResponse struct {
Success bool `json:"success"`
}
Click to show internal directories.
Click to hide internal directories.