Documentation
¶
Index ¶
- Constants
- func GenerateTwoFactorCode(sharedSecret string, current int64) (string, error)
- type CookieData
- type Core
- func (core *Core) AccessToken() string
- func (core *Core) ApplyCookie()
- func (core *Core) CookieString() (string, error)
- func (core *Core) DeviceID() string
- func (core *Core) HttpClient() *http.Client
- func (core *Core) IdentitySecret() string
- func (core *Core) Init(info LoginInfo)
- func (core *Core) Login() error
- func (core *Core) RefreshCookieWithToken() error
- func (core *Core) RefreshTime() time.Time
- func (core *Core) SessionID() string
- func (core *Core) SetCookie(cookieString string) error
- func (core *Core) SetHttpParam(timeout int, proxy string) error
- func (core *Core) SteamID() string
- type LoginInfo
Constants ¶
View Source
const ( CHAR_SET = "23456789BCDFGHJKMNPQRTVWXY" CHAR_SET_LEN = uint32(len(CHAR_SET)) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CookieData ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func (*Core) AccessToken ¶ added in v0.0.5
func (*Core) ApplyCookie ¶
func (core *Core) ApplyCookie()
func (*Core) CookieString ¶ added in v0.1.4
func (*Core) HttpClient ¶
func (*Core) IdentitySecret ¶ added in v0.1.3
func (*Core) RefreshCookieWithToken ¶ added in v0.1.3
func (*Core) RefreshTime ¶ added in v0.1.8
func (*Core) SetHttpParam ¶
timeout: millsecond, set only while timeout > 0; proxy: if proxyUrl == "", ignore
Click to show internal directories.
Click to hide internal directories.