auth

package
v0.0.0-...-243ebdb Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2018 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"

Variables

View Source
var WorldIPList = []string{
	"203.104.209.71",
	"203.104.209.87",
	"125.6.184.215",
	"203.104.209.183",
	"203.104.209.150",
	"203.104.209.134",
	"203.104.209.167",
	"203.104.248.135",
	"125.6.189.7",
	"125.6.189.39",
	"125.6.189.71",
	"125.6.189.103",
	"125.6.189.135",
	"125.6.189.167",
	"125.6.189.215",
	"125.6.189.247",
	"203.104.209.23",
	"203.104.209.39",
	"203.104.209.55",
	"203.104.209.102",
}

Functions

This section is empty.

Types

type KancolleAuth

type KancolleAuth struct {
	http.Client

	APIStartTime int64

	WorldIP  string
	APIToken string
	// contains filtered or unexported fields
}

func New

func New(id, pass string) *KancolleAuth

func (*KancolleAuth) GetEntry

func (self *KancolleAuth) GetEntry() (error, string)

func (*KancolleAuth) GetOSAPI

func (self *KancolleAuth) GetOSAPI() (error, string)

Jump to

Keyboard shortcuts

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