token

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTokenLogic added in v0.2.4

type CreateTokenLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateTokenLogic added in v0.2.4

func NewCreateTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateTokenLogic

func (*CreateTokenLogic) CreateToken added in v0.2.4

func (l *CreateTokenLogic) CreateToken(req *types.TokenInfo) (resp *types.BaseMsgResp, err error)

type DeleteTokenLogic

type DeleteTokenLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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 added in v0.2.4

type GetTokenByIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetTokenByIdLogic added in v0.2.4

func NewGetTokenByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTokenByIdLogic

func (*GetTokenByIdLogic) GetTokenById added in v0.2.4

func (l *GetTokenByIdLogic) GetTokenById(req *types.UUIDReq) (resp *types.TokenInfoResp, err error)

type GetTokenListLogic

type GetTokenListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type LogoutLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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 added in v0.2.4

type UpdateTokenLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateTokenLogic added in v0.2.4

func NewUpdateTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateTokenLogic

func (*UpdateTokenLogic) UpdateToken added in v0.2.4

func (l *UpdateTokenLogic) UpdateToken(req *types.TokenInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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