Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController interface { // 未登録ユーザー作成・トークン発行 CreateUnregisteredUserAndToken(c echo.Context) error // トークン更新 RefreshToken(c echo.Context) error // CSRFトークン発行 CreateCSRFToken(c echo.Context) error // logout Logout(c echo.Context) error }
func NewAuthController ¶
func NewAuthController(cfg *config.Config, uu usecase.UserUsecase, au usecase.AuthUsecase) AuthController
type EventController ¶
type EventController interface { Create(c echo.Context) error Retrieve(c echo.Context) error CreateAnswer(c echo.Context) error RetrieveUserAnswer(c echo.Context) error }
func NewEventController ¶
func NewEventController(eu usecase.EventUsecase) EventController
type OauthController ¶
type OauthController interface { // 各サービスの認証ページにリダイレクト RedirectToAuthPage(c echo.Context) error // callback Callback(c echo.Context) error }
func NewOauthController ¶
func NewOauthController(cfg *config.Config, oau usecase.OauthUsecase, uu usecase.UserUsecase, au usecase.AuthUsecase) OauthController
type UserController ¶
type UserController interface { // Register(c echo.Context) error // GetEvents(c echo.Context) error Get(c echo.Context) error GetExternalCalendars(c echo.Context) error GetEvents(c echo.Context) error }
func NewUserController ¶
func NewUserController(uu usecase.UserUsecase) UserController
Click to show internal directories.
Click to hide internal directories.