answer/internal/schema/forbidden_schema.go

14 lines
320 B
Go
Raw Permalink Normal View History

2022-09-27 17:59:05 +08:00
package schema
const (
ForbiddenReasonTypeInactive = "inactive"
ForbiddenReasonTypeURLExpired = "url_expired"
2022-09-27 17:59:05 +08:00
ForbiddenReasonTypeUserSuspended = "suspended"
)
// ForbiddenResp forbidden response
type ForbiddenResp struct {
// forbidden reason type
Type string `json:"type" enums:"inactive,url_expired"`
}