Versions in this module Expand all Collapse all v0 v0.9.0 May 24, 2020 Changes in this version + var ErrMFA = errors.New("account has 2FA enabled") + type Closed struct + Error error + type Session struct + Gateway *gateway.Gateway + MFA bool + Ticket string + func Login(email, password, mfa string) (*Session, error) + func New(token string) (*Session, error) + func NewWithGateway(gw *gateway.Gateway) *Session + func (s *Session) Close() error + func (s *Session) Open() error