loginState

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 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) Successful

func (r State) Successful() bool

Jump to

Keyboard shortcuts

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