Documentation
¶
Overview ¶
Package private is a generated GoMock package.
Package private is a generated GoMock package.
Package private is a generated GoMock package.
Index ¶
- type ManagementHandler
- type MockManagementHandler
- func (m *MockManagementHandler) AddPaymentStatus(e echo.Context) error
- func (m *MockManagementHandler) AuthorizeTransaction(e echo.Context) error
- func (m *MockManagementHandler) DeletePaymentStatus(e echo.Context) error
- func (m *MockManagementHandler) EXPECT() *MockManagementHandlerMockRecorder
- func (m *MockManagementHandler) GetConfig(e echo.Context) error
- func (m *MockManagementHandler) GetPaymentStatus(e echo.Context) error
- func (m *MockManagementHandler) GetPaymentStatuses(e echo.Context) error
- func (m *MockManagementHandler) GetUser(e echo.Context) error
- func (m *MockManagementHandler) ListUsers(e echo.Context) error
- func (m *MockManagementHandler) RemindPayment(e echo.Context) error
- func (m *MockManagementHandler) SetConfig(e echo.Context) error
- func (m *MockManagementHandler) UpdateRole(e echo.Context) error
- func (m *MockManagementHandler) UpdateUser(e echo.Context) error
- type MockManagementHandlerMockRecorder
- func (mr *MockManagementHandlerMockRecorder) AddPaymentStatus(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) AuthorizeTransaction(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) DeletePaymentStatus(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) GetConfig(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) GetPaymentStatus(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) GetPaymentStatuses(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) GetUser(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) ListUsers(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) RemindPayment(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) SetConfig(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) UpdateRole(e interface{}) *gomock.Call
- func (mr *MockManagementHandlerMockRecorder) UpdateUser(e interface{}) *gomock.Call
- type MockProfileHandler
- func (m *MockProfileHandler) EXPECT() *MockProfileHandlerMockRecorder
- func (m *MockProfileHandler) Get(e echo.Context) error
- func (m *MockProfileHandler) GetPaymentStatuses(e echo.Context) error
- func (m *MockProfileHandler) GetPaymentTransaction(e echo.Context) error
- func (m *MockProfileHandler) Update(e echo.Context) error
- type MockProfileHandlerMockRecorder
- func (mr *MockProfileHandlerMockRecorder) Get(e interface{}) *gomock.Call
- func (mr *MockProfileHandlerMockRecorder) GetPaymentStatuses(e interface{}) *gomock.Call
- func (mr *MockProfileHandlerMockRecorder) GetPaymentTransaction(e interface{}) *gomock.Call
- func (mr *MockProfileHandlerMockRecorder) Update(e interface{}) *gomock.Call
- type MockSessionHandler
- type MockSessionHandlerMockRecorder
- type ProfileHandler
- type SessionHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagementHandler ¶
type ManagementHandler interface { // ListUsers - ユーザ一覧を返す ListUsers(e echo.Context) error // AuthorizeTransaction - 支払い申請を許可する AuthorizeTransaction(e echo.Context) error // AddPaymentStatus - 支払い情報を追加(QRコード経由せず) AddPaymentStatus(e echo.Context) error // GetPaymentStatus - 特定の支払い情報を取得する GetPaymentStatus(e echo.Context) error // DeletePaymentStatus - 支払い情報を追加(QRコード経由せず) DeletePaymentStatus(e echo.Context) error // GetPaymentStatuses - 支払い情報一覧を取得する GetPaymentStatuses(e echo.Context) error // GetUser - ユーザ情報を取得 GetUser(e echo.Context) error // UpdateUser - ユーザ情報を更新(制限なし) UpdateUser(e echo.Context) error // UpdateRole - ユーザのroleを変更 UpdateRole(e echo.Context) error // SetConfig - コンフィグの変更 SetConfig(e echo.Context) error // GetConfig - コンフィグの取得 GetConfig(e echo.Context) error // RemindPayment - 未払い会員に対する催促メールを送信 RemindPayment(e echo.Context) error }
ManagementHandler - セッション周りの非公開API
func NewManagementHandler ¶
func NewManagementHandler(mu usecase.ManagementUsecase, acu usecase.AppConfigUsecase) ManagementHandler
NewManagementHandler - ManagementHandlerを初期化
type MockManagementHandler ¶
type MockManagementHandler struct {
// contains filtered or unexported fields
}
MockManagementHandler is a mock of ManagementHandler interface.
func NewMockManagementHandler ¶
func NewMockManagementHandler(ctrl *gomock.Controller) *MockManagementHandler
NewMockManagementHandler creates a new mock instance.
func (*MockManagementHandler) AddPaymentStatus ¶
func (m *MockManagementHandler) AddPaymentStatus(e echo.Context) error
AddPaymentStatus mocks base method.
func (*MockManagementHandler) AuthorizeTransaction ¶
func (m *MockManagementHandler) AuthorizeTransaction(e echo.Context) error
AuthorizeTransaction mocks base method.
func (*MockManagementHandler) DeletePaymentStatus ¶
func (m *MockManagementHandler) DeletePaymentStatus(e echo.Context) error
DeletePaymentStatus mocks base method.
func (*MockManagementHandler) EXPECT ¶
func (m *MockManagementHandler) EXPECT() *MockManagementHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagementHandler) GetConfig ¶
func (m *MockManagementHandler) GetConfig(e echo.Context) error
GetConfig mocks base method.
func (*MockManagementHandler) GetPaymentStatus ¶
func (m *MockManagementHandler) GetPaymentStatus(e echo.Context) error
GetPaymentStatus mocks base method.
func (*MockManagementHandler) GetPaymentStatuses ¶
func (m *MockManagementHandler) GetPaymentStatuses(e echo.Context) error
GetPaymentStatuses mocks base method.
func (*MockManagementHandler) GetUser ¶
func (m *MockManagementHandler) GetUser(e echo.Context) error
GetUser mocks base method.
func (*MockManagementHandler) ListUsers ¶
func (m *MockManagementHandler) ListUsers(e echo.Context) error
ListUsers mocks base method.
func (*MockManagementHandler) RemindPayment ¶
func (m *MockManagementHandler) RemindPayment(e echo.Context) error
RemindPayment mocks base method.
func (*MockManagementHandler) SetConfig ¶
func (m *MockManagementHandler) SetConfig(e echo.Context) error
SetConfig mocks base method.
func (*MockManagementHandler) UpdateRole ¶
func (m *MockManagementHandler) UpdateRole(e echo.Context) error
UpdateRole mocks base method.
func (*MockManagementHandler) UpdateUser ¶
func (m *MockManagementHandler) UpdateUser(e echo.Context) error
UpdateUser mocks base method.
type MockManagementHandlerMockRecorder ¶
type MockManagementHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagementHandlerMockRecorder is the mock recorder for MockManagementHandler.
func (*MockManagementHandlerMockRecorder) AddPaymentStatus ¶
func (mr *MockManagementHandlerMockRecorder) AddPaymentStatus(e interface{}) *gomock.Call
AddPaymentStatus indicates an expected call of AddPaymentStatus.
func (*MockManagementHandlerMockRecorder) AuthorizeTransaction ¶
func (mr *MockManagementHandlerMockRecorder) AuthorizeTransaction(e interface{}) *gomock.Call
AuthorizeTransaction indicates an expected call of AuthorizeTransaction.
func (*MockManagementHandlerMockRecorder) DeletePaymentStatus ¶
func (mr *MockManagementHandlerMockRecorder) DeletePaymentStatus(e interface{}) *gomock.Call
DeletePaymentStatus indicates an expected call of DeletePaymentStatus.
func (*MockManagementHandlerMockRecorder) GetConfig ¶
func (mr *MockManagementHandlerMockRecorder) GetConfig(e interface{}) *gomock.Call
GetConfig indicates an expected call of GetConfig.
func (*MockManagementHandlerMockRecorder) GetPaymentStatus ¶
func (mr *MockManagementHandlerMockRecorder) GetPaymentStatus(e interface{}) *gomock.Call
GetPaymentStatus indicates an expected call of GetPaymentStatus.
func (*MockManagementHandlerMockRecorder) GetPaymentStatuses ¶
func (mr *MockManagementHandlerMockRecorder) GetPaymentStatuses(e interface{}) *gomock.Call
GetPaymentStatuses indicates an expected call of GetPaymentStatuses.
func (*MockManagementHandlerMockRecorder) GetUser ¶
func (mr *MockManagementHandlerMockRecorder) GetUser(e interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockManagementHandlerMockRecorder) ListUsers ¶
func (mr *MockManagementHandlerMockRecorder) ListUsers(e interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockManagementHandlerMockRecorder) RemindPayment ¶
func (mr *MockManagementHandlerMockRecorder) RemindPayment(e interface{}) *gomock.Call
RemindPayment indicates an expected call of RemindPayment.
func (*MockManagementHandlerMockRecorder) SetConfig ¶
func (mr *MockManagementHandlerMockRecorder) SetConfig(e interface{}) *gomock.Call
SetConfig indicates an expected call of SetConfig.
func (*MockManagementHandlerMockRecorder) UpdateRole ¶
func (mr *MockManagementHandlerMockRecorder) UpdateRole(e interface{}) *gomock.Call
UpdateRole indicates an expected call of UpdateRole.
func (*MockManagementHandlerMockRecorder) UpdateUser ¶
func (mr *MockManagementHandlerMockRecorder) UpdateUser(e interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
type MockProfileHandler ¶
type MockProfileHandler struct {
// contains filtered or unexported fields
}
MockProfileHandler is a mock of ProfileHandler interface.
func NewMockProfileHandler ¶
func NewMockProfileHandler(ctrl *gomock.Controller) *MockProfileHandler
NewMockProfileHandler creates a new mock instance.
func (*MockProfileHandler) EXPECT ¶
func (m *MockProfileHandler) EXPECT() *MockProfileHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileHandler) Get ¶
func (m *MockProfileHandler) Get(e echo.Context) error
Get mocks base method.
func (*MockProfileHandler) GetPaymentStatuses ¶
func (m *MockProfileHandler) GetPaymentStatuses(e echo.Context) error
GetPaymentStatuses mocks base method.
func (*MockProfileHandler) GetPaymentTransaction ¶
func (m *MockProfileHandler) GetPaymentTransaction(e echo.Context) error
GetPaymentTransaction mocks base method.
type MockProfileHandlerMockRecorder ¶
type MockProfileHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileHandlerMockRecorder is the mock recorder for MockProfileHandler.
func (*MockProfileHandlerMockRecorder) Get ¶
func (mr *MockProfileHandlerMockRecorder) Get(e interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockProfileHandlerMockRecorder) GetPaymentStatuses ¶
func (mr *MockProfileHandlerMockRecorder) GetPaymentStatuses(e interface{}) *gomock.Call
GetPaymentStatuses indicates an expected call of GetPaymentStatuses.
func (*MockProfileHandlerMockRecorder) GetPaymentTransaction ¶
func (mr *MockProfileHandlerMockRecorder) GetPaymentTransaction(e interface{}) *gomock.Call
GetPaymentTransaction indicates an expected call of GetPaymentTransaction.
func (*MockProfileHandlerMockRecorder) Update ¶
func (mr *MockProfileHandlerMockRecorder) Update(e interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockSessionHandler ¶
type MockSessionHandler struct {
// contains filtered or unexported fields
}
MockSessionHandler is a mock of SessionHandler interface.
func NewMockSessionHandler ¶
func NewMockSessionHandler(ctrl *gomock.Controller) *MockSessionHandler
NewMockSessionHandler creates a new mock instance.
func (*MockSessionHandler) EXPECT ¶
func (m *MockSessionHandler) EXPECT() *MockSessionHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSessionHandlerMockRecorder ¶
type MockSessionHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionHandlerMockRecorder is the mock recorder for MockSessionHandler.
func (*MockSessionHandlerMockRecorder) Logout ¶
func (mr *MockSessionHandlerMockRecorder) Logout(e interface{}) *gomock.Call
Logout indicates an expected call of Logout.
type ProfileHandler ¶
type ProfileHandler interface { // Get - 自分自身のプロフィール情報を取得する Get(e echo.Context) error // Update - 自分自身のプロフィール情報を更新する Update(e echo.Context) error // GetPaymentStatuses - 自分自身の支払い状況を取得する GetPaymentStatuses(e echo.Context) error // GetPaymentTransaction - 支払い用トークンを生成する GetPaymentTransaction(e echo.Context) error }
ProfileHandler - セッション周りの非公開API
func NewProfileHandler ¶
func NewProfileHandler(su usecase.ProfileUsecase) ProfileHandler
NewProfileHandler - ProfileHandlerを初期化
type SessionHandler ¶
type SessionHandler interface {
Logout(e echo.Context) error
}
SessionHandler - セッション周りの非公開API
func NewSessionHandler ¶
func NewSessionHandler(su usecase.SessionUsecase) SessionHandler
NewSessionHandler - SessionHandlerを初期化