tokenlogic

package
v0.0.0-...-7745932 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockAllTokenByUserLogic

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

func NewBlockAllTokenByUserLogic

func NewBlockAllTokenByUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BlockAllTokenByUserLogic

func (*BlockAllTokenByUserLogic) BlockAllTokenByUser

func (l *BlockAllTokenByUserLogic) BlockAllTokenByUser(in *pb.IDReq) (*pb.BaseResp, error)

type CreateTokenLogic

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

func NewCreateTokenLogic

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

func (*CreateTokenLogic) CreateToken

func (l *CreateTokenLogic) CreateToken(in *pb.CreateTokenReq) (*pb.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 *pb.IDReq) (*pb.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 *pb.GetTokenListReq) (*pb.GetTokenListResp, error)

type GetTokenLogic

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

func NewGetTokenLogic

func NewGetTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTokenLogic

func (*GetTokenLogic) GetToken

func (l *GetTokenLogic) GetToken(in *pb.IDReq) (*pb.GetTokenResp, error)

Jump to

Keyboard shortcuts

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