userAccountToken

package
v0.0.0-...-4834045 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package userAccountToken ユーザーアカウントトークン

Package userAccountToken ユーザーアカウントトークン

Package userAccountToken is a generated GoMock package.

Package userAccountToken ユーザーアカウントトークン

Package userAccountToken is a generated GoMock package.

Index

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

Create mocks base method.

func (*MockUserAccountTokenMysqlRepository) CreateList

CreateList mocks base method.

func (*MockUserAccountTokenMysqlRepository) Delete

Delete mocks base method.

func (*MockUserAccountTokenMysqlRepository) DeleteList

DeleteList mocks base method.

func (*MockUserAccountTokenMysqlRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUserAccountTokenMysqlRepository) Find

Find mocks base method.

func (*MockUserAccountTokenMysqlRepository) FindList

FindList mocks base method.

func (*MockUserAccountTokenMysqlRepository) FindOrNil

FindOrNil mocks base method.

func (*MockUserAccountTokenMysqlRepository) Update

Update mocks base method.

func (*MockUserAccountTokenMysqlRepository) UpdateList

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

Delete mocks base method.

func (*MockUserAccountTokenRedisRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUserAccountTokenRedisRepository) Find

Find mocks base method.

func (*MockUserAccountTokenRedisRepository) FindOrNil

FindOrNil mocks base method.

func (*MockUserAccountTokenRedisRepository) Set

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

type UserAccountToken struct {
	UserId string
	Token  string
}

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

Jump to

Keyboard shortcuts

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