Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScraphookMessages ¶
type ScraphookWebhooks ¶
type ScraphookWebhooksForwardingEndpoints ¶
type ScraphookWebhooksForwardingEndpoints struct {
Id string `json:"id" gorm:"primaryKey"`
WebhookId string `json:"webhook_id" gorm:"size:64"`
Description string `json:"description"`
EndpointUrl string `json:"endpoint_url"`
ForwardingRuleRegex string `json:"forwarding_rule_regex"`
ForwardingRuleRegexNegative string `json:"forwarding_rule_regex_negative"`
CreatedAt *time.Time `json:"created_at" gorm:"default:CURRENT_TIMESTAMP"`
UpdatedAt *time.Time `json:"updated_at"`
DeletedAt *time.Time `json:"deleted_at"`
}
type ScraphookWebhooksForwardingLogs ¶
type ScraphookWebhooksForwardingLogs struct {
Id string `json:"id" gorm:"primaryKey;size:64"`
WebhookId string `json:"webhook_id" gorm:"size:64"`
MessageId string `json:"message_id" gorm:"size:64"`
Message ScraphookMessages `json:"message"`
EndpointId string `json:"endpoint_id" gorm:"size:64"`
Endpoint ScraphookWebhooksForwardingEndpoints `json:"endpoint"`
RequestUrl string `json:"request_url"`
RequestHeaders string `json:"request_headers"`
RequestBody string `json:"request_body"`
ResponseStatus int `json:"response_status"`
ResponseHeaders string `json:"response_headers"`
ResponseBody string `json:"response_body"`
CreatedAt *time.Time `json:"created_at" gorm:"default:CURRENT_TIMESTAMP"`
}
Click to show internal directories.
Click to hide internal directories.