token

package
v0.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDeleteTokenLogic

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

func NewBatchDeleteTokenLogic

func NewBatchDeleteTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteTokenLogic

func (*BatchDeleteTokenLogic) BatchDeleteToken

func (l *BatchDeleteTokenLogic) BatchDeleteToken(in *core.IDsReq) (*core.BaseResp, error)

type BlockUserAllTokenLogic

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

func NewBlockUserAllTokenLogic

func NewBlockUserAllTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BlockUserAllTokenLogic

func (*BlockUserAllTokenLogic) BlockUserAllToken

func (l *BlockUserAllTokenLogic) BlockUserAllToken(in *core.UUIDReq) (*core.BaseResp, error)

type CreateOrUpdateTokenLogic

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

func NewCreateOrUpdateTokenLogic

func NewCreateOrUpdateTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateTokenLogic

func (*CreateOrUpdateTokenLogic) CreateOrUpdateToken

func (l *CreateOrUpdateTokenLogic) CreateOrUpdateToken(in *core.TokenInfo) (*core.BaseResp, 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(in *core.IDReq) (*core.BaseResp, 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(in *core.TokenListReq) (*core.TokenListResp, error)

type UpdateTokenStatusLogic

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

func NewUpdateTokenStatusLogic

func NewUpdateTokenStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateTokenStatusLogic

func (*UpdateTokenStatusLogic) UpdateTokenStatus

func (l *UpdateTokenStatusLogic) UpdateTokenStatus(in *core.StatusCodeReq) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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