auth

package
v0.0.0-...-e073e3f Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MISERVER_ERR_BAD_PARAMS = 400
	MISERVER_ERR_INTERNAL   = 500
	MISERVER_ERR_RESULT_NIL = 500
)

Variables

View Source
var QQMusicPublicKey1_1 = []byte(`
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrp4sMcJjY9hb2J3sHWlwIEBrJ
lw2Cimv+rZAQmR8V3EI+0PUK14pL8OcG7CY79li30IHwYGWwUapADKA01nKgNeq7
+rSciMYZv6ByVq+ocxKY8az78HwIppwxKWpQ+ziqYavvfE5+iHIzAc8RvGj9lL6x
x1zhoPkdaA0agAyuMQIDAQAB
-----END PUBLIC KEY-----
`)

QQ音乐公钥

Functions

This section is empty.

Types

type AuthImpl

type AuthImpl struct {
}

func (*AuthImpl) AuthInfoGet

func (impl *AuthImpl) AuthInfoGet(w http.ResponseWriter, r *http.Request)

func (*AuthImpl) AuthInfoSet

func (impl *AuthImpl) AuthInfoSet(w http.ResponseWriter, r *http.Request)

func (*AuthImpl) GetQrcodeString

func (impl *AuthImpl) GetQrcodeString(w http.ResponseWriter, r *http.Request)

type EncryptRequest

type EncryptRequest struct {
	EncryptString string `json:"encryptString"`
}

type QrCodeResponse

type QrCodeResponse = struct {
	Code int `json:"ret"`

	QRCodeString string `json:"sdk_qr_code"`
	Sub_ret      int    `json:"sub_ret"`
	// contains filtered or unexported fields
}

type RespHeader

type RespHeader struct {
	Errno  int    `json:"errno"`
	Errmsg string `json:"errmsg"`
}

Jump to

Keyboard shortcuts

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