Documentation ¶
Overview ¶
Package userAccountToken ユーザーアカウントトークン
Package userAccountToken ユーザーアカウントトークン ¶
Package userAccountToken is a generated GoMock package.
Package userAccountToken ユーザーアカウントトークン ¶
Package userAccountToken is a generated GoMock package.
Index ¶
- type MockUserAccountTokenMysqlRepository
- func (m_2 *MockUserAccountTokenMysqlRepository) Create(ctx context.Context, tx *gorm.DB, m *UserAccountToken) (*UserAccountToken, error)
- func (m *MockUserAccountTokenMysqlRepository) CreateList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) (UserAccountTokens, error)
- func (m_2 *MockUserAccountTokenMysqlRepository) Delete(ctx context.Context, tx *gorm.DB, m *UserAccountToken) error
- func (m *MockUserAccountTokenMysqlRepository) DeleteList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) error
- func (m *MockUserAccountTokenMysqlRepository) EXPECT() *MockUserAccountTokenMysqlRepositoryMockRecorder
- func (m *MockUserAccountTokenMysqlRepository) Find(ctx context.Context, userId string) (*UserAccountToken, error)
- func (m *MockUserAccountTokenMysqlRepository) FindList(ctx context.Context, userId string) (UserAccountTokens, error)
- func (m *MockUserAccountTokenMysqlRepository) FindOrNil(ctx context.Context, userId string) (*UserAccountToken, error)
- func (m_2 *MockUserAccountTokenMysqlRepository) Update(ctx context.Context, tx *gorm.DB, m *UserAccountToken) (*UserAccountToken, error)
- func (m *MockUserAccountTokenMysqlRepository) UpdateList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) (UserAccountTokens, error)
- type MockUserAccountTokenMysqlRepositoryMockRecorder
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) Create(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) CreateList(ctx, tx, ms interface{}) *gomock.Call
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) DeleteList(ctx, tx, ms interface{}) *gomock.Call
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) Find(ctx, userId interface{}) *gomock.Call
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) FindList(ctx, userId interface{}) *gomock.Call
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) FindOrNil(ctx, userId interface{}) *gomock.Call
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) Update(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) UpdateList(ctx, tx, ms interface{}) *gomock.Call
- type MockUserAccountTokenRedisRepository
- func (m_2 *MockUserAccountTokenRedisRepository) Delete(ctx context.Context, tx v9.Pipeliner, m *UserAccountToken) error
- func (m *MockUserAccountTokenRedisRepository) EXPECT() *MockUserAccountTokenRedisRepositoryMockRecorder
- func (m *MockUserAccountTokenRedisRepository) Find(ctx context.Context, userId string) (*UserAccountToken, error)
- func (m *MockUserAccountTokenRedisRepository) FindOrNil(ctx context.Context, userId string) (*UserAccountToken, error)
- func (m_2 *MockUserAccountTokenRedisRepository) Set(ctx context.Context, tx v9.Pipeliner, m *UserAccountToken) (*UserAccountToken, error)
- type MockUserAccountTokenRedisRepositoryMockRecorder
- func (mr *MockUserAccountTokenRedisRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockUserAccountTokenRedisRepositoryMockRecorder) Find(ctx, userId interface{}) *gomock.Call
- func (mr *MockUserAccountTokenRedisRepositoryMockRecorder) FindOrNil(ctx, userId interface{}) *gomock.Call
- func (mr *MockUserAccountTokenRedisRepositoryMockRecorder) Set(ctx, tx, m interface{}) *gomock.Call
- type UserAccountToken
- type UserAccountTokenMysqlRepository
- type UserAccountTokenRedisRepository
- type UserAccountTokens
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserAccountTokenMysqlRepository ¶
type MockUserAccountTokenMysqlRepository struct {
// contains filtered or unexported fields
}
MockUserAccountTokenMysqlRepository is a mock of UserAccountTokenMysqlRepository interface.
func NewMockUserAccountTokenMysqlRepository ¶
func NewMockUserAccountTokenMysqlRepository(ctrl *gomock.Controller) *MockUserAccountTokenMysqlRepository
NewMockUserAccountTokenMysqlRepository creates a new mock instance.
func (*MockUserAccountTokenMysqlRepository) Create ¶
func (m_2 *MockUserAccountTokenMysqlRepository) Create(ctx context.Context, tx *gorm.DB, m *UserAccountToken) (*UserAccountToken, error)
Create mocks base method.
func (*MockUserAccountTokenMysqlRepository) CreateList ¶
func (m *MockUserAccountTokenMysqlRepository) CreateList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) (UserAccountTokens, error)
CreateList mocks base method.
func (*MockUserAccountTokenMysqlRepository) Delete ¶
func (m_2 *MockUserAccountTokenMysqlRepository) Delete(ctx context.Context, tx *gorm.DB, m *UserAccountToken) error
Delete mocks base method.
func (*MockUserAccountTokenMysqlRepository) DeleteList ¶
func (m *MockUserAccountTokenMysqlRepository) DeleteList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) error
DeleteList mocks base method.
func (*MockUserAccountTokenMysqlRepository) EXPECT ¶
func (m *MockUserAccountTokenMysqlRepository) EXPECT() *MockUserAccountTokenMysqlRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserAccountTokenMysqlRepository) Find ¶
func (m *MockUserAccountTokenMysqlRepository) Find(ctx context.Context, userId string) (*UserAccountToken, error)
Find mocks base method.
func (*MockUserAccountTokenMysqlRepository) FindList ¶
func (m *MockUserAccountTokenMysqlRepository) FindList(ctx context.Context, userId string) (UserAccountTokens, error)
FindList mocks base method.
func (*MockUserAccountTokenMysqlRepository) FindOrNil ¶
func (m *MockUserAccountTokenMysqlRepository) FindOrNil(ctx context.Context, userId string) (*UserAccountToken, error)
FindOrNil mocks base method.
func (*MockUserAccountTokenMysqlRepository) Update ¶
func (m_2 *MockUserAccountTokenMysqlRepository) Update(ctx context.Context, tx *gorm.DB, m *UserAccountToken) (*UserAccountToken, error)
Update mocks base method.
func (*MockUserAccountTokenMysqlRepository) UpdateList ¶
func (m *MockUserAccountTokenMysqlRepository) UpdateList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) (UserAccountTokens, error)
UpdateList mocks base method.
type MockUserAccountTokenMysqlRepositoryMockRecorder ¶
type MockUserAccountTokenMysqlRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserAccountTokenMysqlRepositoryMockRecorder is the mock recorder for MockUserAccountTokenMysqlRepository.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) Create ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) Create(ctx, tx, m interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) CreateList ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) CreateList(ctx, tx, ms interface{}) *gomock.Call
CreateList indicates an expected call of CreateList.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) Delete ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) DeleteList ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) DeleteList(ctx, tx, ms interface{}) *gomock.Call
DeleteList indicates an expected call of DeleteList.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) Find ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) Find(ctx, userId interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) FindList ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) FindList(ctx, userId interface{}) *gomock.Call
FindList indicates an expected call of FindList.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) FindOrNil ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) FindOrNil(ctx, userId interface{}) *gomock.Call
FindOrNil indicates an expected call of FindOrNil.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) Update ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) Update(ctx, tx, m interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockUserAccountTokenMysqlRepositoryMockRecorder) UpdateList ¶
func (mr *MockUserAccountTokenMysqlRepositoryMockRecorder) UpdateList(ctx, tx, ms interface{}) *gomock.Call
UpdateList indicates an expected call of UpdateList.
type MockUserAccountTokenRedisRepository ¶
type MockUserAccountTokenRedisRepository struct {
// contains filtered or unexported fields
}
MockUserAccountTokenRedisRepository is a mock of UserAccountTokenRedisRepository interface.
func NewMockUserAccountTokenRedisRepository ¶
func NewMockUserAccountTokenRedisRepository(ctrl *gomock.Controller) *MockUserAccountTokenRedisRepository
NewMockUserAccountTokenRedisRepository creates a new mock instance.
func (*MockUserAccountTokenRedisRepository) Delete ¶
func (m_2 *MockUserAccountTokenRedisRepository) Delete(ctx context.Context, tx v9.Pipeliner, m *UserAccountToken) error
Delete mocks base method.
func (*MockUserAccountTokenRedisRepository) EXPECT ¶
func (m *MockUserAccountTokenRedisRepository) EXPECT() *MockUserAccountTokenRedisRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserAccountTokenRedisRepository) Find ¶
func (m *MockUserAccountTokenRedisRepository) Find(ctx context.Context, userId string) (*UserAccountToken, error)
Find mocks base method.
func (*MockUserAccountTokenRedisRepository) FindOrNil ¶
func (m *MockUserAccountTokenRedisRepository) FindOrNil(ctx context.Context, userId string) (*UserAccountToken, error)
FindOrNil mocks base method.
func (*MockUserAccountTokenRedisRepository) Set ¶
func (m_2 *MockUserAccountTokenRedisRepository) Set(ctx context.Context, tx v9.Pipeliner, m *UserAccountToken) (*UserAccountToken, error)
Set mocks base method.
type MockUserAccountTokenRedisRepositoryMockRecorder ¶
type MockUserAccountTokenRedisRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserAccountTokenRedisRepositoryMockRecorder is the mock recorder for MockUserAccountTokenRedisRepository.
func (*MockUserAccountTokenRedisRepositoryMockRecorder) Delete ¶
func (mr *MockUserAccountTokenRedisRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUserAccountTokenRedisRepositoryMockRecorder) Find ¶
func (mr *MockUserAccountTokenRedisRepositoryMockRecorder) Find(ctx, userId interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockUserAccountTokenRedisRepositoryMockRecorder) FindOrNil ¶
func (mr *MockUserAccountTokenRedisRepositoryMockRecorder) FindOrNil(ctx, userId interface{}) *gomock.Call
FindOrNil indicates an expected call of FindOrNil.
func (*MockUserAccountTokenRedisRepositoryMockRecorder) Set ¶
func (mr *MockUserAccountTokenRedisRepositoryMockRecorder) Set(ctx, tx, m interface{}) *gomock.Call
Set indicates an expected call of Set.
type UserAccountToken ¶
func NewUserAccountToken ¶
func NewUserAccountToken() *UserAccountToken
func SetUserAccountToken ¶
func SetUserAccountToken(userId string, token string) *UserAccountToken
type UserAccountTokenMysqlRepository ¶
type UserAccountTokenMysqlRepository interface { Find(ctx context.Context, userId string) (*UserAccountToken, error) FindOrNil(ctx context.Context, userId string) (*UserAccountToken, error) FindList(ctx context.Context, userId string) (UserAccountTokens, error) Create(ctx context.Context, tx *gorm.DB, m *UserAccountToken) (*UserAccountToken, error) CreateList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) (UserAccountTokens, error) Update(ctx context.Context, tx *gorm.DB, m *UserAccountToken) (*UserAccountToken, error) UpdateList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) (UserAccountTokens, error) Delete(ctx context.Context, tx *gorm.DB, m *UserAccountToken) error DeleteList(ctx context.Context, tx *gorm.DB, ms UserAccountTokens) error }
type UserAccountTokenRedisRepository ¶
type UserAccountTokenRedisRepository interface { Find(ctx context.Context, userId string) (*UserAccountToken, error) FindOrNil(ctx context.Context, userId string) (*UserAccountToken, error) Set(ctx context.Context, tx redis.Pipeliner, m *UserAccountToken) (*UserAccountToken, error) Delete(ctx context.Context, tx redis.Pipeliner, m *UserAccountToken) error }
type UserAccountTokens ¶
type UserAccountTokens []*UserAccountToken
func NewUserAccountTokens ¶
func NewUserAccountTokens() UserAccountTokens