Documentation ¶
Index ¶
- func CloseMQConn()
- type AuthServiceImpl
- func (a AuthServiceImpl) Init()
- func (a AuthServiceImpl) Login(ctx context.Context, request *auth.LoginRequest) (*auth.LoginResponse, error)
- func (a AuthServiceImpl) Logout(ctx context.Context, request *auth.LogoutRequest) (*auth.LogoutResponse, error)
- func (a AuthServiceImpl) New()
- func (a AuthServiceImpl) Refresh(ctx context.Context, request *auth.RefreshRequest) (*auth.RefreshResponse, error)
- func (a AuthServiceImpl) Register(ctx context.Context, request *auth.RegisterRequest) (*auth.RegisterResponse, error)
- func (a AuthServiceImpl) Verify(ctx context.Context, request *auth.VerifyRequest) (*auth.VerifyResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthServiceImpl ¶
type AuthServiceImpl struct {
auth.AuthServiceServer
}
AuthServiceImpl AuthService服务实现
func (AuthServiceImpl) Login ¶
func (a AuthServiceImpl) Login(ctx context.Context, request *auth.LoginRequest) (*auth.LoginResponse, error)
登录
func (AuthServiceImpl) Logout ¶
func (a AuthServiceImpl) Logout(ctx context.Context, request *auth.LogoutRequest) (*auth.LogoutResponse, error)
Logout 登出
func (AuthServiceImpl) Refresh ¶
func (a AuthServiceImpl) Refresh(ctx context.Context, request *auth.RefreshRequest) (*auth.RefreshResponse, error)
Refresh 刷新
func (AuthServiceImpl) Register ¶
func (a AuthServiceImpl) Register(ctx context.Context, request *auth.RegisterRequest) (*auth.RegisterResponse, error)
Register 注册
func (AuthServiceImpl) Verify ¶
func (a AuthServiceImpl) Verify(ctx context.Context, request *auth.VerifyRequest) (*auth.VerifyResponse, error)
Verify 验证
Click to show internal directories.
Click to hide internal directories.