cmds

package
v0.0.0-...-6879f62 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAction

func DefaultAction(c *cli.Context) error

DefaultAction default action

func NewApp

func NewApp() *cli.App

NewApp cli app

func NewBuyCommand

func NewBuyCommand() []cli.Command

NewBuyCommand login command

func NewCourseCommand

func NewCourseCommand() []cli.Command

NewCourseCommand login command

func NewDownloadCommand

func NewDownloadCommand() []cli.Command

NewDownloadCommand login command

func NewLoginCommand

func NewLoginCommand() []cli.Command

NewLoginCommand login command

Types

type Login

type Login struct {
	// contains filtered or unexported fields
}

Login login data

var LoginConfig Login

LoginConfig config

func (*Login) IsByCookie

func (l *Login) IsByCookie() bool

IsByCookie cookie login

func (*Login) IsByPhoneAndPassword

func (l *Login) IsByPhoneAndPassword() bool

IsByPhoneAndPassword 通过手机号和密码登录

Jump to

Keyboard shortcuts

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