application

package
v0.0.0-...-d606b87 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppleTuan

type AppleTuan struct {
	Cookies map[string]string
}

AppleTuan 通过cookie进行签到

func (AppleTuan) Start

func (t AppleTuan) Start() error

Start 开始

type AutoSign

type AutoSign interface {
	Start() error
}

type ChinaG

type ChinaG struct {
	URL      string
	Username string
	Password string
}

func (ChinaG) Start

func (g ChinaG) Start() error

type Famijia

type Famijia struct {
	Headers map[string]string
}

Famijia Fa米家签到

func (Famijia) Start

func (f Famijia) Start() error

type FamijiaResult

type FamijiaResult struct {
	Code    json.Number `json:"code"`
	Message string      `json:"message"`
}

type GeekHub

type GeekHub struct {
	//Cookies
	Cookies map[string]string
}

GeekHub 通过cookie进行签到

func (GeekHub) Start

func (g GeekHub) Start() error

Start 开始

type Ld246

type Ld246 struct {
	Username string
	Password string
}

Ld246 通过token签到

func (Ld246) Login

func (ld Ld246) Login() (LoginResult, error)

Login 通过username/password 换取token

func (Ld246) Logout

func (ld Ld246) Logout(cookies map[string]string) error

Logout 登出

func (Ld246) Sign

func (ld Ld246) Sign(cookies map[string]string)

Sign 签到

func (Ld246) Start

func (ld Ld246) Start() error

Start 开始

type LoginResult

type LoginResult struct {
	Code     int    `json:"code"`
	Msg      string `json:"msg"`
	Token    string `json:"token"`
	UserName string `json:"username"`
}

type PagodaResult

type PagodaResult struct {
	ErrorCode   json.Number `json:"errorCode"`
	ErrorMsg    string      `json:"errorMsg"`
	MessageInfo string      `yaml:"messageInfo"`
}

type PagodaWxMini

type PagodaWxMini struct {
	Url     string
	Headers map[string]string
}

PagodaWxMini 百果园 微信小程序签到

func (*PagodaWxMini) Start

func (p *PagodaWxMini) Start() error

type V2ex

type V2ex struct {
	Cookies map[string]string
}

V2ex 通过Cookie签到

func (V2ex) Start

func (v V2ex) Start() error

Start 开始

Jump to

Keyboard shortcuts

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