service

package
v0.0.0-...-b1e5a9d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService struct {
	// contains filtered or unexported fields
}

func GetAuthService

func GetAuthService() *AuthService

func (*AuthService) UserAuth

func (this *AuthService) UserAuth(req *msgAuth.MsgAuthUserReq) (*base.MessageRsp, error)

func (*AuthService) UserQuery

func (this *AuthService) UserQuery(req *msgAuth.MsgQueryUserReq) (*base.MessageRsp, error)

type CaptchaService

type CaptchaService struct {
	// contains filtered or unexported fields
}

func GetCaptchaService

func GetCaptchaService() *CaptchaService

func (*CaptchaService) Load

func (this *CaptchaService) Load(captchaSession string, w http.ResponseWriter) ([]byte, error)

func (*CaptchaService) Verify

func (this *CaptchaService) Verify(captchaSessionID, captchaValue string) (bool, error)

Jump to

Keyboard shortcuts

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