Versions in this module Expand all Collapse all v1 v1.9.2 Jul 9, 2023 v1.9.1 Jul 9, 2023 Changes in this version + func GetOpenAITokenWithBx(bx string) (string, string, error) v1.2.1 Jul 1, 2023 Changes in this version + func DownloadChallenge(urls []string, b64 bool) ([]string, error) + func GetForm() (string, string) + func GetOpenAIToken() (string, string, error) + func SetTLSClient(cli *tls_client.HttpClient) + type Challenge struct + AudioChallengeURLs []string + AudioGameRateLimited interface{} + ChallengeID string + ChallengeURL string + EarlyVictoryMessage interface{} + EndURL interface{} + FontSizeAdjustments interface{} + GameData struct{ ... } + GameSID string + Lang string + SID string + Sec int + SessionToken string + StringTable map[string]string + StringTablePrefixes []interface{} + StyleTheme string + type ConciseChallenge struct + GameType string + Instructions string + URLs []string + type Session struct + Challenge Challenge + ChallengeLogger challengeLogger + ConciseChallenge ConciseChallenge + Headers http.Header + Hex string + SessionToken string + Sid string + func StartChallenge(full_session, hex string) (*Session, error) + func (c *Session) RequestChallenge(isAudioGame bool) error + func (c *Session) SubmitAnswer(index int) error