mirror of
https://github.com/axllent/mailpit.git
synced 2025-01-24 03:47:38 +02:00
22 lines
420 B
Go
22 lines
420 B
Go
package linkcheck
|
|
|
|
// Response represents the Link check response
|
|
//
|
|
// swagger:model LinkCheckResponse
|
|
type Response struct {
|
|
// Total number of errors
|
|
Errors int `json:"Errors"`
|
|
// Tested links
|
|
Links []Link `json:"Links"`
|
|
}
|
|
|
|
// Link struct
|
|
type Link struct {
|
|
// Link URL
|
|
URL string `json:"URL"`
|
|
// HTTP status code
|
|
StatusCode int `json:"StatusCode"`
|
|
// HTTP status definition
|
|
Status string `json:"Status"`
|
|
}
|