Documentation
¶
Index ¶
- type AuthController
- type CronController
- func (c *CronController) FetchEvents(ctx *app.FetchEventsCronContext) error
- func (c *CronController) ReadFix(ctx *app.ReadFixCronContext) error
- func (c *CronController) SendRecommendMail(ctx *app.SendRecommendMailCronContext) error
- func (c *CronController) UpgradeTags(ctx *app.UpgradeTagsCronContext) error
- type EventsController
- func (c *EventsController) DeleteFavorite(ctx *app.DeleteFavoriteEventsContext) error
- func (c *EventsController) List(ctx *app.ListEventsContext) error
- func (c *EventsController) SelfFavoriteList(ctx *app.SelfFavoriteListEventsContext) error
- func (c *EventsController) Show(ctx *app.ShowEventsContext) error
- func (c *EventsController) ShowCount(ctx *app.ShowCountEventsContext) error
- func (c *EventsController) UpdateFavorite(ctx *app.UpdateFavoriteEventsContext) error
- type FrontController
- type GithubUser
- type SwaggerController
- type SwaggeruiController
- type UsersController
- func (c *UsersController) Delete(ctx *app.DeleteUsersContext) error
- func (c *UsersController) DeleteTag(ctx *app.DeleteTagUsersContext) error
- func (c *UsersController) Show(ctx *app.ShowUsersContext) error
- func (c *UsersController) Update(ctx *app.UpdateUsersContext) error
- func (c *UsersController) UpdateTag(ctx *app.UpdateTagUsersContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
*goa.Controller
}
AuthController implements the auth resource.
func NewAuthController ¶
func NewAuthController(service *goa.Service) *AuthController
NewAuthController creates a auth controller.
func (*AuthController) Login ¶
func (c *AuthController) Login(ctx *app.LoginAuthContext) error
Login runs the login action.
func (*AuthController) Logout ¶
func (c *AuthController) Logout(ctx *app.LogoutAuthContext) error
Logout runs the logout action.
type CronController ¶
type CronController struct {
*goa.Controller
}
CronController implements the cron resource.
func NewCronController ¶
func NewCronController(service *goa.Service) *CronController
NewCronController creates a cron controller.
func (*CronController) FetchEvents ¶
func (c *CronController) FetchEvents(ctx *app.FetchEventsCronContext) error
FetchEvents runs the fetchEvents action.
func (*CronController) ReadFix ¶
func (c *CronController) ReadFix(ctx *app.ReadFixCronContext) error
ReadFix runs the readFix action.
func (*CronController) SendRecommendMail ¶
func (c *CronController) SendRecommendMail(ctx *app.SendRecommendMailCronContext) error
SendRecommendMail runs the sendRecommendMail action.
func (*CronController) UpgradeTags ¶
func (c *CronController) UpgradeTags(ctx *app.UpgradeTagsCronContext) error
UpgradeTags runs the upgradeTags action.
type EventsController ¶
type EventsController struct {
*goa.Controller
}
EventsController implements the events resource.
func NewEventsController ¶
func NewEventsController(service *goa.Service) *EventsController
NewEventsController creates a events controller.
func (*EventsController) DeleteFavorite ¶
func (c *EventsController) DeleteFavorite(ctx *app.DeleteFavoriteEventsContext) error
DeleteFavorite runs the deleteFavorite action.
func (*EventsController) List ¶
func (c *EventsController) List(ctx *app.ListEventsContext) error
List runs the list action. TODO: 詳しいロジックを実装したら消す nolint
func (*EventsController) SelfFavoriteList ¶
func (c *EventsController) SelfFavoriteList(ctx *app.SelfFavoriteListEventsContext) error
SelfFavoriteList runs the selfFavoriteList action.
func (*EventsController) Show ¶
func (c *EventsController) Show(ctx *app.ShowEventsContext) error
Show runs the show action.
func (*EventsController) ShowCount ¶
func (c *EventsController) ShowCount(ctx *app.ShowCountEventsContext) error
ShowCount runs the showCount action.
func (*EventsController) UpdateFavorite ¶
func (c *EventsController) UpdateFavorite(ctx *app.UpdateFavoriteEventsContext) error
UpdateFavorite runs the updateFavorite action.
type FrontController ¶
type FrontController struct {
*goa.Controller
}
FrontController implements the front resource.
func NewFrontController ¶
func NewFrontController(service *goa.Service) *FrontController
NewFrontController creates a front controller.
type GithubUser ¶
type GithubUser struct { ID int64 `json:"id"` Login string `json:"login"` Email string `json:"email"` AvaterURL string `json:"avatar_url"` }
GithubUser Githubから取得したユーザー情報
type SwaggerController ¶
type SwaggerController struct {
*goa.Controller
}
SwaggerController implements the swagger resource.
func NewSwaggerController ¶
func NewSwaggerController(service *goa.Service) *SwaggerController
NewSwaggerController creates a swagger controller.
type SwaggeruiController ¶
type SwaggeruiController struct {
*goa.Controller
}
SwaggeruiController implements the swaggerui resource.
func NewSwaggeruiController ¶
func NewSwaggeruiController(service *goa.Service) *SwaggeruiController
NewSwaggeruiController creates a swaggerui controller.
type UsersController ¶
type UsersController struct {
*goa.Controller
}
UsersController implements the users resource.
func NewUsersController ¶
func NewUsersController(service *goa.Service) *UsersController
NewUsersController creates a users controller.
func (*UsersController) Delete ¶
func (c *UsersController) Delete(ctx *app.DeleteUsersContext) error
Delete runs the delete action.
func (*UsersController) DeleteTag ¶
func (c *UsersController) DeleteTag(ctx *app.DeleteTagUsersContext) error
DeleteTag runs the deleteTag action.
func (*UsersController) Show ¶
func (c *UsersController) Show(ctx *app.ShowUsersContext) error
Show runs the show action.
func (*UsersController) Update ¶
func (c *UsersController) Update(ctx *app.UpdateUsersContext) error
Update runs the update action.
func (*UsersController) UpdateTag ¶
func (c *UsersController) UpdateTag(ctx *app.UpdateTagUsersContext) error
UpdateTag runs the updateTag action.