Documentation
¶
Index ¶
- func TraqEventHandler(_ echo.Context) error
- type Server
- func (s *Server) AdminAddCampParticipant(e echo.Context, campID api.CampId, params api.AdminAddCampParticipantParams) error
- func (s *Server) AdminDeleteCamp(e echo.Context, campID api.CampId, params api.AdminDeleteCampParams) error
- func (s *Server) AdminDeleteImage(_ echo.Context, _ api.ImageId, _ api.AdminDeleteImageParams) error
- func (s *Server) AdminDeleteQuestion(e echo.Context, questionID api.QuestionId, ...) error
- func (s *Server) AdminDeleteQuestionGroup(e echo.Context, questionGroupID api.QuestionGroupId, ...) error
- func (s *Server) AdminDeleteRoom(e echo.Context, roomID api.RoomId, params api.AdminDeleteRoomParams) error
- func (s *Server) AdminDeleteRoomGroup(e echo.Context, roomGroupID api.RoomGroupId, ...) error
- func (s *Server) AdminGetAnswers(e echo.Context, questionID api.QuestionId, params api.AdminGetAnswersParams) error
- func (s *Server) AdminGetAnswersForQuestionGroup(e echo.Context, questionGroupID api.QuestionGroupId, ...) error
- func (s *Server) AdminGetPayments(e echo.Context, campID api.CampId, params api.AdminGetPaymentsParams) error
- func (s *Server) AdminGetUser(e echo.Context, userID api.UserId, params api.AdminGetUserParams) error
- func (s *Server) AdminPostAnswer(e echo.Context, userID api.UserId, params api.AdminPostAnswerParams) error
- func (s *Server) AdminPostCamp(e echo.Context, params api.AdminPostCampParams) error
- func (s *Server) AdminPostImage(_ echo.Context, _ api.CampId, _ api.AdminPostImageParams) error
- func (s *Server) AdminPostMessage(e echo.Context, targetUserID api.UserId, params api.AdminPostMessageParams) error
- func (s *Server) AdminPostPayment(e echo.Context, campID api.CampId, params api.AdminPostPaymentParams) error
- func (s *Server) AdminPostQuestion(e echo.Context, questionGroupID api.QuestionGroupId, ...) error
- func (s *Server) AdminPostQuestionGroup(e echo.Context, campID api.CampId, params api.AdminPostQuestionGroupParams) error
- func (s *Server) AdminPostRollCall(e echo.Context, campID api.CampId, params api.AdminPostRollCallParams) error
- func (s *Server) AdminPostRoom(e echo.Context, params api.AdminPostRoomParams) error
- func (s *Server) AdminPostRoomGroup(e echo.Context, campID api.CampId, params api.AdminPostRoomGroupParams) error
- func (s *Server) AdminPutAnswer(e echo.Context, answerID api.AnswerId, params api.AdminPutAnswerParams) error
- func (s *Server) AdminPutCamp(e echo.Context, campID api.CampId, params api.AdminPutCampParams) error
- func (s *Server) AdminPutPayment(e echo.Context, paymentID api.PaymentId, params api.AdminPutPaymentParams) error
- func (s *Server) AdminPutQuestion(e echo.Context, questionID api.QuestionId, params api.AdminPutQuestionParams) error
- func (s *Server) AdminPutQuestionGroupMetadata(e echo.Context, questionGroupID api.QuestionGroupId, ...) error
- func (s *Server) AdminPutRoom(e echo.Context, roomID api.RoomId, params api.AdminPutRoomParams) error
- func (s *Server) AdminPutRoomGroup(e echo.Context, roomGroupID api.RoomGroupId, ...) error
- func (s *Server) AdminPutUser(e echo.Context, targetUserID string, params api.AdminPutUserParams) error
- func (s *Server) AdminRemoveCampParticipant(e echo.Context, campID api.CampId, userID api.UserId, ...) error
- func (s *Server) DeleteCampRegister(e echo.Context, campID api.CampId, params api.DeleteCampRegisterParams) error
- func (s *Server) DeleteEvent(e echo.Context, eventID api.EventId, params api.DeleteEventParams) error
- func (s *Server) DeleteReaction(e echo.Context, reactionID api.ReactionId, params api.DeleteReactionParams) error
- func (s *Server) GetActivities(e echo.Context, campID api.CampId, params api.GetActivitiesParams) error
- func (s *Server) GetAnswers(e echo.Context, questionID api.QuestionId) error
- func (s *Server) GetCampParticipants(e echo.Context, campID api.CampId) error
- func (s *Server) GetCamps(e echo.Context) error
- func (s *Server) GetDashboard(e echo.Context, campID api.CampId, params api.GetDashboardParams) error
- func (s *Server) GetEvent(e echo.Context, eventID api.EventId) error
- func (s *Server) GetEvents(e echo.Context, campID api.CampId) error
- func (s *Server) GetImage(_ echo.Context, _ api.ImageId) error
- func (s *Server) GetImages(_ echo.Context, _ api.CampId) error
- func (s *Server) GetMe(e echo.Context, params api.GetMeParams) error
- func (s *Server) GetMyAnswers(e echo.Context, questionGroupId api.QuestionGroupId, ...) error
- func (s *Server) GetQuestionGroups(e echo.Context, campID api.CampId) error
- func (s *Server) GetRollCallReactions(e echo.Context, rollCallID api.RollCallId) error
- func (s *Server) GetRollCalls(e echo.Context, campID api.CampId) error
- func (s *Server) GetRoomGroups(e echo.Context, campID api.CampId) error
- func (s *Server) GetRoomStatusLogs(e echo.Context, roomID api.RoomId) error
- func (s *Server) GetStaffs(e echo.Context) error
- func (s *Server) PostAnswers(e echo.Context, _ api.QuestionGroupId, params api.PostAnswersParams) error
- func (s *Server) PostCampRegister(e echo.Context, campID api.CampId, params api.PostCampRegisterParams) error
- func (s *Server) PostEvent(e echo.Context, campID api.CampId, params api.PostEventParams) error
- func (s *Server) PostRollCallReaction(e echo.Context, rollCallID api.RollCallId, ...) error
- func (s *Server) PutAnswer(e echo.Context, answerID api.AnswerId, params api.PutAnswerParams) error
- func (s *Server) PutEvent(e echo.Context, eventID api.EventId, params api.PutEventParams) error
- func (s *Server) PutReaction(e echo.Context, reactionID api.ReactionId, params api.PutReactionParams) error
- func (s *Server) PutRoomStatus(e echo.Context, roomID api.RoomId, params api.PutRoomStatusParams) error
- func (s *Server) StreamRollCallReactions(e echo.Context, rollCallID api.RollCallId) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TraqEventHandler ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer( ctx context.Context, repo repository.Repository, activityService activityservice.ActivityService, notificationService notification.NotificationService, traqService traq.TraqService, isDev bool, ) *Server
func (*Server) AdminAddCampParticipant ¶ added in v0.6.0
func (s *Server) AdminAddCampParticipant( e echo.Context, campID api.CampId, params api.AdminAddCampParticipantParams, ) error
AdminAddCampParticipant ユーザーをキャンプに参加させる(管理者用)
func (*Server) AdminDeleteCamp ¶
func (s *Server) AdminDeleteCamp( e echo.Context, campID api.CampId, params api.AdminDeleteCampParams, ) error
AdminDeleteCamp キャンプ削除 (DELETE /api/admin/camps/{campId})
func (*Server) AdminDeleteImage ¶
func (s *Server) AdminDeleteImage( _ echo.Context, _ api.ImageId, _ api.AdminDeleteImageParams, ) error
AdminDeleteImage 画像を削除(管理者用)
func (*Server) AdminDeleteQuestion ¶
func (s *Server) AdminDeleteQuestion( e echo.Context, questionID api.QuestionId, params api.AdminDeleteQuestionParams, ) error
func (*Server) AdminDeleteQuestionGroup ¶
func (s *Server) AdminDeleteQuestionGroup( e echo.Context, questionGroupID api.QuestionGroupId, params api.AdminDeleteQuestionGroupParams, ) error
func (*Server) AdminDeleteRoom ¶
func (*Server) AdminDeleteRoomGroup ¶
func (s *Server) AdminDeleteRoomGroup( e echo.Context, roomGroupID api.RoomGroupId, params api.AdminDeleteRoomGroupParams, ) error
func (*Server) AdminGetAnswers ¶
func (s *Server) AdminGetAnswers( e echo.Context, questionID api.QuestionId, params api.AdminGetAnswersParams, ) error
AdminGetAnswers 回答の一覧を取得(管理者用)
func (*Server) AdminGetAnswersForQuestionGroup ¶ added in v0.5.0
func (s *Server) AdminGetAnswersForQuestionGroup( e echo.Context, questionGroupID api.QuestionGroupId, params api.AdminGetAnswersForQuestionGroupParams, ) error
func (*Server) AdminGetPayments ¶
func (s *Server) AdminGetPayments( e echo.Context, campID api.CampId, params api.AdminGetPaymentsParams, ) error
AdminGetPayments 支払い情報の一覧を取得(管理者用)
func (*Server) AdminGetUser ¶
func (*Server) AdminPostAnswer ¶ added in v0.5.0
func (*Server) AdminPostCamp ¶
AdminPostCamp 新規キャンプ追加 (POST /api/admin/camps)
func (*Server) AdminPostImage ¶
AdminPostImage 画像をアップロード(管理者用)
func (*Server) AdminPostMessage ¶
func (s *Server) AdminPostMessage( e echo.Context, targetUserID api.UserId, params api.AdminPostMessageParams, ) error
AdminPostMessage は DM を送信するハンドラです。
func (*Server) AdminPostPayment ¶
func (s *Server) AdminPostPayment( e echo.Context, campID api.CampId, params api.AdminPostPaymentParams, ) error
AdminPostPayment 支払い情報を作成(管理者用)
func (*Server) AdminPostQuestion ¶
func (s *Server) AdminPostQuestion( e echo.Context, questionGroupID api.QuestionGroupId, params api.AdminPostQuestionParams, ) error
func (*Server) AdminPostQuestionGroup ¶
func (*Server) AdminPostRollCall ¶
func (*Server) AdminPostRoom ¶
func (*Server) AdminPostRoomGroup ¶
func (*Server) AdminPutAnswer ¶
func (*Server) AdminPutCamp ¶
func (s *Server) AdminPutCamp( e echo.Context, campID api.CampId, params api.AdminPutCampParams, ) error
AdminPutCamp キャンプ情報編集 (PUT /api/admin/camps/{campId})
func (*Server) AdminPutPayment ¶
func (s *Server) AdminPutPayment( e echo.Context, paymentID api.PaymentId, params api.AdminPutPaymentParams, ) error
AdminPutPayment 支払い情報を更新(管理者用)
func (*Server) AdminPutQuestion ¶
func (s *Server) AdminPutQuestion( e echo.Context, questionID api.QuestionId, params api.AdminPutQuestionParams, ) error
func (*Server) AdminPutQuestionGroupMetadata ¶
func (s *Server) AdminPutQuestionGroupMetadata( e echo.Context, questionGroupID api.QuestionGroupId, params api.AdminPutQuestionGroupMetadataParams, ) error
func (*Server) AdminPutRoom ¶
func (*Server) AdminPutRoomGroup ¶
func (s *Server) AdminPutRoomGroup( e echo.Context, roomGroupID api.RoomGroupId, params api.AdminPutRoomGroupParams, ) error
func (*Server) AdminPutUser ¶
func (s *Server) AdminPutUser( e echo.Context, targetUserID string, params api.AdminPutUserParams, ) error
AdminPutUser ユーザー情報を更新(管理者用)
func (*Server) AdminRemoveCampParticipant ¶ added in v0.6.0
func (s *Server) AdminRemoveCampParticipant( e echo.Context, campID api.CampId, userID api.UserId, params api.AdminRemoveCampParticipantParams, ) error
AdminRemoveCampParticipant ユーザーをキャンプから削除する(管理者用)
func (*Server) DeleteCampRegister ¶
func (s *Server) DeleteCampRegister( e echo.Context, campID api.CampId, params api.DeleteCampRegisterParams, ) error
DeleteCampRegister 合宿登録を取り消し
func (*Server) DeleteEvent ¶
func (*Server) DeleteReaction ¶
func (s *Server) DeleteReaction( e echo.Context, reactionID api.ReactionId, params api.DeleteReactionParams, ) error
func (*Server) GetActivities ¶ added in v1.1.0
func (*Server) GetAnswers ¶
func (*Server) GetCampParticipants ¶
GetCampParticipants 合宿の参加者一覧を取得
func (*Server) GetDashboard ¶
func (*Server) GetMyAnswers ¶
func (s *Server) GetMyAnswers( e echo.Context, questionGroupId api.QuestionGroupId, params api.GetMyAnswersParams, ) error
func (*Server) GetQuestionGroups ¶
func (*Server) GetRollCallReactions ¶
func (*Server) GetRollCalls ¶
func (*Server) GetRoomGroups ¶
func (*Server) GetRoomStatusLogs ¶ added in v1.1.0
func (*Server) PostAnswers ¶
func (s *Server) PostAnswers( e echo.Context, _ api.QuestionGroupId, params api.PostAnswersParams, ) error
func (*Server) PostCampRegister ¶
func (s *Server) PostCampRegister( e echo.Context, campID api.CampId, params api.PostCampRegisterParams, ) error
PostCampRegister 合宿に登録
func (*Server) PostRollCallReaction ¶
func (s *Server) PostRollCallReaction( e echo.Context, rollCallID api.RollCallId, params api.PostRollCallReactionParams, ) error
func (*Server) PutAnswer ¶
func (s *Server) PutAnswer( e echo.Context, answerID api.AnswerId, params api.PutAnswerParams, ) error
PutAnswer アンケート回答編集
func (*Server) PutReaction ¶
func (s *Server) PutReaction( e echo.Context, reactionID api.ReactionId, params api.PutReactionParams, ) error
func (*Server) PutRoomStatus ¶ added in v1.1.0
func (*Server) StreamRollCallReactions ¶
Click to show internal directories.
Click to hide internal directories.