qq

package
v0.0.0-...-7e0b229 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserInfoValid

func UserInfoValid(sessionKey, raw, sign string) bool

func ValidStudent

func ValidStudent(userId, password string) bool

Types

type QQSessionData

type QQSessionData struct {
	OpenID     string `json:"openid"`
	SessionKey string `json:"session_key"`
	Code       int    `json:"errcode"`
	Msg        string `json:"errmsg"`
}

func Code2Session

func Code2Session(code string) (QQSessionData, error)

Jump to

Keyboard shortcuts

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