loginstate

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State int
const (
	TokenExpired     State = 140022015
	UnusualVerify    State = 140022011
	LoginFailure     State = 140022013
	UserTokenExpired State = 140022016
	ServerFailure    State = 140022002 //unknown reason
	WrongCaptcha     State = 140022007
	WrongArgument    State = 140022001
	NewDeviceVerify  State = 140022010
	CaptchaVerify    State = 140022008
	UnknownError     State = -1
	Success          State = 0
)

func (State) Missing

func (r State) Missing() bool

func (State) Name

func (r State) Name() string

func (State) NeedVerify added in v0.1.2

func (r State) NeedVerify() bool

func (State) Successful

func (r State) Successful() bool

Jump to

Keyboard shortcuts

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