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
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 ¶
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
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 ¶
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 ¶
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
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)
Click to show internal directories.
Click to hide internal directories.