Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionGetRequest ¶
type CollectionGetRequest struct { model.SettingQueryInputs `path:",inline" query:",inline"` runtime.RequestCollection[ predicate.Setting, setting.OrderOption, ] `query:",inline"` IDs []object.ID `query:"id,omitempty"` Names []string `query:"name,omitempty"` }
func (*CollectionGetRequest) Validate ¶
func (r *CollectionGetRequest) Validate() error
type CollectionGetResponse ¶
type CollectionGetResponse = []*model.SettingOutput
type CollectionUpdateRequest ¶
type CollectionUpdateRequest struct {
model.SettingUpdateInputs `path:",inline" json:",inline"`
}
func (*CollectionUpdateRequest) Validate ¶
func (r *CollectionUpdateRequest) Validate() error
type GetRequest ¶
type GetRequest struct {
model.SettingQueryInput `path:",inline"`
}
type GetResponse ¶
type GetResponse = *model.SettingOutput
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CollectionGet ¶
func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)
func (Handler) CollectionUpdate ¶
func (h Handler) CollectionUpdate(req CollectionUpdateRequest) error
func (Handler) Get ¶
func (h Handler) Get(req GetRequest) (GetResponse, error)
func (Handler) Update ¶
func (h Handler) Update(req UpdateRequest) error
type UpdateRequest ¶
type UpdateRequest struct {
model.SettingUpdateInput `path:",inline" json:",inline"`
}
func (*UpdateRequest) Validate ¶
func (r *UpdateRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.