Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Update ¶
type Update struct { // Any use this for cases where you need to pass something down to the // adapter. Any interface{} `json:"any" query:"any" param:"any" form:"any" validate:"omitempty,gt=0"` // ID of the resource. ID string `json:"id" query:"id" param:"id" form:"id" validate:"required"` // TTL is the time-to-live. // // NOTE: Not all storage supports that. TTL time.Duration `json:"ttl,omitempty" query:"ttl" param:"ttl" form:"ttl" validate:"omitempty,gt=0"` }
Update params.
SEE: https://echo.labstack.com/guide/binding/#data-sources on data binding.
Click to show internal directories.
Click to hide internal directories.