Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateGreeting ¶
type CreateGreeting struct { }
func (*CreateGreeting) Transform ¶
func (s *CreateGreeting) Transform() *endpoint.CreateGreetingRequest
type DeleteGreeting ¶
type DeleteGreeting struct {
Id uint `form:"id" json:"id" binding:"required"`
}
func (*DeleteGreeting) Transform ¶
func (s *DeleteGreeting) Transform() *endpoint.DeleteGreetingRequest
type GetGreetingAll ¶
type GetGreetingAll struct { }
func (*GetGreetingAll) Transform ¶
func (s *GetGreetingAll) Transform() *endpoint.GetGreetingAllRequest
type GetGreetingDetail ¶
type GetGreetingDetail struct {
Id uint `form:"id" json:"id" binding:"required"`
}
func (*GetGreetingDetail) Transform ¶
func (s *GetGreetingDetail) Transform() *endpoint.GetGreetingDetailRequest
type GetGreetingList ¶
type GetGreetingList struct { PageIndex int `form:"page_index" json:"page_index" binding:"required,min=1"` PageSize int `form:"page_size" json:"page_size" binding:"required,min=1,max=100"` }
func (*GetGreetingList) Transform ¶
func (s *GetGreetingList) Transform() *endpoint.GetGreetingListRequest
type UpdateGreeting ¶
type UpdateGreeting struct {
Id uint `form:"id" json:"id" binding:"required"`
}
func (*UpdateGreeting) Transform ¶
func (s *UpdateGreeting) Transform() *endpoint.UpdateGreetingRequest
Click to show internal directories.
Click to hide internal directories.