Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EditController ¶
type EditController struct {
controllers.BaseController
}
EditController 編集コントローラ
type EditResponse ¶
type EditResponse struct { contributions.Contribution Sound bool `json:"sound"` SoundFile bool `json:"soundFile"` }
EditResponse 編集レスポンス
type GetResponse ¶
type GetResponse struct { contributions.Contribution FollowCount int `json:"followCount"` Following bool `json:"following"` SoundFile bool `json:"soundFile"` Movie models.UserContributionMovie `json:"movie"` }
GetResponse レスポンス
type ListController ¶
type ListController struct {
controllers.BaseController
}
ListController listコントローラ
type MainController ¶
type MainController struct {
controllers.BaseController
}
MainController コントローラ
type NewController ¶
type NewController struct {
controllers.BaseController
}
NewController Newコントローラ
type NewRequest ¶
type NewRequest struct { Title string `form:"title" validate:"min=1,max=100"` Body string `form:"body" validate:"min=1"` ViewStatus int `form:"viewStatus"` Tag string `form:"tag"` }
NewRequest 新規リクエスト
type PutRequest ¶
type PutRequest struct { Title string `form:"title" validate:"min=1,max=100"` Body string `form:"body" validate:"min=1"` ViewStatus int `form:"viewStatus"` }
PutRequest PUTリクエスト
type SearchController ¶
type SearchController struct {
controllers.BaseController
}
SearchController 検索コントローラ
type SearchRequest ¶
type SearchRequest struct { Search string `form:"search"` Order int `form:"order" validate:"min=1,max=2"` Page int `form:"page"` Limit int `form:"limit" validate:"min=1,max=50"` }
SearchRequest 検索リクエスト
type SearchResponse ¶
type SearchResponse struct { List []contributions.Contribution `json:"list"` Count int `json:"count"` }
SearchResponse 検索レスポンス
type UploadController ¶
type UploadController struct {
controllers.BaseController
}
UploadController アップロードコントローラ
type UploadResponse ¶
type UploadResponse struct { Warning bool `json:"warning"` Message string `json:"message"` Path string `json:"path"` }
UploadResponse アップロードレスポンス
Click to show internal directories.
Click to hide internal directories.