Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTokenLogic ¶
func NewCreateTokenLogic ¶
func NewCreateTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateTokenLogic
func (*CreateTokenLogic) CreateToken ¶
func (l *CreateTokenLogic) CreateToken(req *types.TokenInfo) (resp *types.BaseMsgResp, err error)
type DeleteTokenLogic ¶
func NewDeleteTokenLogic ¶
func NewDeleteTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteTokenLogic
func (*DeleteTokenLogic) DeleteToken ¶
func (l *DeleteTokenLogic) DeleteToken(req *types.UUIDsReq) (resp *types.BaseMsgResp, err error)
type GetTokenByIdLogic ¶
func NewGetTokenByIdLogic ¶
func NewGetTokenByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTokenByIdLogic
func (*GetTokenByIdLogic) GetTokenById ¶
func (l *GetTokenByIdLogic) GetTokenById(req *types.UUIDReq) (resp *types.TokenInfoResp, err error)
type GetTokenListLogic ¶
func NewGetTokenListLogic ¶
func NewGetTokenListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTokenListLogic
func (*GetTokenListLogic) GetTokenList ¶
func (l *GetTokenListLogic) GetTokenList(req *types.TokenListReq) (resp *types.TokenListResp, err error)
type LogoutLogic ¶
func NewLogoutLogic ¶
func NewLogoutLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoutLogic
func (*LogoutLogic) Logout ¶
func (l *LogoutLogic) Logout(req *types.UUIDReq) (resp *types.BaseMsgResp, err error)
type UpdateTokenLogic ¶
func NewUpdateTokenLogic ¶
func NewUpdateTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateTokenLogic
func (*UpdateTokenLogic) UpdateToken ¶
func (l *UpdateTokenLogic) UpdateToken(req *types.TokenInfo) (resp *types.BaseMsgResp, err error)
Click to show internal directories.
Click to hide internal directories.