handler

package
v0.0.0-...-cc1fd88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomErrorHandler

func CustomErrorHandler(ctx context.Context, w http.ResponseWriter, r *http.Request, err error)

func NewAuthHandler

func NewAuthHandler(
	authCallbackUseCase auth_usecase.AuthCallbackUseCase,
	authLoginUseCase auth_usecase.AuthLoginUseCase,
	authRevokeUseCase auth_usecase.RevokeUseCase,
) oas.AuthHandler

func NewHandler

func NewHandler(
	authHandler oas.AuthHandler,
	voteHandler oas.VoteHandler,
	opinionHandler oas.OpinionHandler,
	talkSessionHandler oas.TalkSessionHandler,
	userHandler oas.UserHandler,
	testHandler oas.TestHandler,
	manageHandler oas.ManageHandler,
	timelineHandler oas.TimelineHandler,
) oas.Handler

func NewManageHandler

func NewManageHandler(
	dbm *db.DBManager,
	ansv analysis.AnalysisService,
) oas.ManageHandler

func NewOpinionHandler

func NewOpinionHandler(
	postOpinionUsecase opinion_usecase.PostOpinionUseCase,
	getOpinionRepliesUsecase opinion_usecase.GetOpinionRepliesUseCase,
	getSwipeOpinionsUseCase opinion_usecase.GetSwipeOpinionsQueryHandler,
	getOpinionDetailUseCase opinion_usecase.GetOpinionDetailUseCase,
	getOpinionByTalkSessionUseCase opinion_usecase.GetOpinionsByTalkSessionUseCase,
	tokenManager session.TokenManager,
) oas.OpinionHandler

func NewSecurityHandler

func NewSecurityHandler(
	tokenManager session.TokenManager,
	sessRepository session.SessionRepository,
) oas.SecurityHandler

func NewTalkSessionHandler

func NewTalkSessionHandler(
	createTalkSessionUsecase talk_session_usecase.CreateTalkSessionUseCase,
	listTalkSessionQuery talk_session_usecase.ListTalkSessionQuery,
	getTalkSessionDetailQuery talk_session_usecase.GetTalkSessionDetailUseCase,
	getAnalysisResultUseCase analysis_usecase.GetAnalysisResultUseCase,
	getReportUseCase analysis_usecase.GetReportQuery,
	getOwnTalkSession talk_session_usecase.GetTalkSessionByUserQuery,
	createTalkSessionConclusionUsecase talk_session_usecase.CreateTalkSessionConclusionUseCase,
	getTalkSessionConclusionQuery talk_session_usecase.GetTalkSessionConclusionQuery,
	tokenManager session.TokenManager,
) oas.TalkSessionHandler

func NewTestHandler

func NewTestHandler(
	dummyInitializer *db.DummyInitializer,
) oas.TestHandler

func NewTimelineHandler

func NewTimelineHandler(
	addTimeLineUseCase timeline_usecase.AddTimeLineUseCase,
	getTimeLineUseCase timeline_usecase.GetTimeLineUseCase,
	editTimeLineUseCase timeline_usecase.EditTimeLineUseCase,
) oas.TimelineHandler

func NewUserHandler

func NewUserHandler(
	registerUserUsecase user_usecase.RegisterUserUseCase,
	editUserUsecase user_usecase.EditUserUseCase,
	getUserInformationQueryHandler user_usecase.GetUserInformationQueryHandler,
	getUserOpinionListQueryHandler opinion_usecase.GetUserOpinionListQueryHandler,
	getTalkSessoinHistoriesQuery talk_session_usecase.GetTalkSessionHistoriesQuery,
) oas.UserHandler

func NewVoteHandler

func NewVoteHandler(
	postVoteUseCase vote_usecase.PostVoteUseCase,
) oas.VoteHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL