auth

package
v0.0.0-...-6d7266f Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginLogic

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

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(req *types.LoginReq) (resp *types.LoginResp, err error)

type LogoutLogic

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

func NewLogoutLogic

func NewLogoutLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoutLogic

登出

func (*LogoutLogic) Logout

func (l *LogoutLogic) Logout(req *types.EmptyReq) (resp *types.EmptyResp, err error)

Jump to

Keyboard shortcuts

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