Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delete ¶
type Delete struct {
// ID of the resource to delete.
ID string `form:"id" json:"id" param:"id" query:"id" validate:"required"`
// Routing informs the storage adapter to use a specific route to access the
// data.
Routing string `form:"routing" json:"routing" param:"routing" query:"routing" validate:"omitempty,gt=0"`
// Soft delete if specified.
Soft bool `default:"false" form:"soft" json:"soft" param:"soft" query:"soft"`
// Target to delete.
Target string `form:"target" json:"target" param:"target" query:"target"`
}
Delete params.
SEE: https://echo.labstack.com/guide/binding/#data-sources on data binding.
Click to show internal directories.
Click to hide internal directories.