utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCNLoginMessage

func GetCNLoginMessage(m string) string

func GetErrorLocation

func GetErrorLocation() (string, int)

func GetReadableLoginMessage

func GetReadableLoginMessage(resp *http.Response) (int, string, error)

func NewClientWithJar

func NewClientWithJar() *http.Client

create new client with cookiejar and set InsecureSkipVerify true

Types

type LoginMessage

type LoginMessage struct {
	Code     int    `json:"code"`
	Message  string `json:"message"`
	Redirect string `json:"Redirect"`
	ID       string `json:"ID"`
}

Jump to

Keyboard shortcuts

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