Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRoutes ¶
Types ¶
type AddImageRequest ¶
type AddImageRequest struct {
Alt string `json:"alt"`
}
type AddPostRequest ¶
type ChangePostRequest ¶
type DeleteImageBinding ¶
type DeleteImageBinding struct {
Name string `uri:"name" binding:"required"`
}
type DeletePostBinding ¶
type DeletePostBinding struct {
common.IntIdBinding
}
type GetImageResponse ¶
type GetPostResponse ¶
type ImageIdResponse ¶
type ImageIdResponse struct {
Id string `json:"id"`
}
type PostIdResponse ¶
type PostIdResponse struct {
Id int `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.