Documentation ¶
Index ¶
- type AppAccountService
- func (this *AppAccountService) CreateAccountInfo(ctx context.Context, data dbmodel.AppDataUser) error
- func (this *AppAccountService) CreateAccountToken(ctx context.Context, data dbmodel.AppDataToken) (error, string)
- func (this *AppAccountService) GetAccountCount(ctx context.Context) int64
- func (this *AppAccountService) GetAccountInfoById(ctx context.Context, dataId string) dbmodel.AppDataUser
- func (this *AppAccountService) GetAccountInfoByUsername(ctx context.Context, username string) dbmodel.AppDataUser
- func (this *AppAccountService) GetAccountTokenById(ctx context.Context, dataId string) dbmodel.AppDataToken
- func (this *AppAccountService) RemoveAccountTokenById(ctx context.Context, dataId string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAccountService ¶
type AppAccountService struct {
Context *bizcontext.AppContext
}
func (*AppAccountService) CreateAccountInfo ¶
func (this *AppAccountService) CreateAccountInfo(ctx context.Context, data dbmodel.AppDataUser) error
func (*AppAccountService) CreateAccountToken ¶
func (this *AppAccountService) CreateAccountToken(ctx context.Context, data dbmodel.AppDataToken) (error, string)
func (*AppAccountService) GetAccountCount ¶
func (this *AppAccountService) GetAccountCount(ctx context.Context) int64
func (*AppAccountService) GetAccountInfoById ¶
func (this *AppAccountService) GetAccountInfoById(ctx context.Context, dataId string) dbmodel.AppDataUser
func (*AppAccountService) GetAccountInfoByUsername ¶
func (this *AppAccountService) GetAccountInfoByUsername(ctx context.Context, username string) dbmodel.AppDataUser
func (*AppAccountService) GetAccountTokenById ¶
func (this *AppAccountService) GetAccountTokenById(ctx context.Context, dataId string) dbmodel.AppDataToken
func (*AppAccountService) RemoveAccountTokenById ¶
func (this *AppAccountService) RemoveAccountTokenById(ctx context.Context, dataId string)
Click to show internal directories.
Click to hide internal directories.