Documentation ¶
Index ¶
- Variables
- type Session
- func (s *Session) Kaptcha(kaptcha func(*Session) (string, error)) error
- func (s *Session) Login() error
- func (s *Session) SetLogin(fn func(*Session, any) error) *Session
- func (s *Session) SetRetryInterval(d time.Duration) *Session
- func (s *Session) SetSession(session *gohttp.Session) *Session
- func (s *Session) SetWrongRetry(n int) *Session
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilLogin = errors.New("nil login function")
View Source
var SetAgent = gohttp.SetAgent
Functions ¶
This section is empty.
Types ¶
type Session ¶
func (*Session) SetWrongRetry ¶
Click to show internal directories.
Click to hide internal directories.