token

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 7 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(r *http.Request, 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(r *http.Request, 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(r *http.Request, 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(r *http.Request, 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(r *http.Request, 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(r *http.Request, 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