token

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 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(in *core.TokenInfo) (*core.BaseUUIDResp, 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.UUIDsReq) (*core.BaseResp, 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(in *core.UUIDReq) (*core.TokenInfo, 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 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(in *core.TokenInfo) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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