Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCafeRequest ¶
func NewCreateCafeRequest ¶
func NewCreateCafeRequest(r *http.Request) (CreateCafeRequest, error)
type DeleteCafeRequest ¶
type DeleteCafeRequest struct {
CafeId int64 `url:"-"`
}
func NewDeleteCafeRequest ¶
func NewDeleteCafeRequest(r *http.Request) (DeleteCafeRequest, error)
type GetCafeListRequest ¶
type GetCafeListRequest struct { pgdb.OffsetPageParams FilterName []string `filter:"cafe_name"` FilterRatingTo *[]float64 `filter:"rating_to"` FilterRatingFrom *[]float64 `filter:"rating_from"` FilterAddressId []int64 `filter:"address_id"` }
func NewGetCafeListRequest ¶
func NewGetCafeListRequest(r *http.Request) (GetCafeListRequest, error)
type GetCafeRequest ¶
type GetCafeRequest struct {
CafeId int64 `url:"-"`
}
func NewGetCafeRequest ¶
func NewGetCafeRequest(r *http.Request) (GetCafeRequest, error)
type UpdateCafeRequest ¶
func NewUpdateCafeRequest ¶
func NewUpdateCafeRequest(r *http.Request) (UpdateCafeRequest, error)
Click to show internal directories.
Click to hide internal directories.