Documentation ¶
Index ¶
- type AnyTask
- type Api
- type CallError
- type CallMessageIncoming
- type CallMessageOutgoing
- type Config
- type CreateTaskResult
- type EventBus
- type EventHandler
- type FunCaptchaResult
- type FunCaptchaTask
- type GeeTest3Result
- type GeeTest3Task
- type GetBalanceRequest
- type GetBalanceResult
- type ImageToTextResult
- type ImageToTextTask
- type ReCaptcha2Result
- type ReCaptcha2Task
- type TaskEntity
- type TaskUpdateEvent
- type TokenReissueEvent
- type TurnstileResult
- type TurnstileTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct {
// contains filtered or unexported fields
}
func (*Api) CreateTask ¶
func (a *Api) CreateTask(task AnyTask) (*CreateTaskResult, error)
type CallMessageIncoming ¶
type CallMessageOutgoing ¶
type CreateTaskResult ¶
type CreateTaskResult TaskEntity
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func (*EventHandler) Off ¶
func (e *EventHandler) Off()
type FunCaptchaResult ¶
type FunCaptchaResult struct {
Token string `json:"token"`
}
type FunCaptchaTask ¶
type FunCaptchaTask struct { SiteKey string `json:"siteKey"` PageUrl string `json:"pageUrl"` Data map[string]string `json:"data,omitempty"` ServiceUrl *string `json:"serviceUrl,omitempty"` Proxy *string `json:"proxy,omitempty"` }
func (*FunCaptchaTask) Result ¶
func (t *FunCaptchaTask) Result() any
type GeeTest3Result ¶
type GeeTest3Task ¶
type GeeTest3Task struct { SiteKey string `json:"siteKey"` PageUrl string `json:"pageUrl"` Challenge string `json:"challenge"` ApiServer *string `json:"apiServer,omitempty"` Proxy *string `json:"proxy,omitempty"` }
func (*GeeTest3Task) Result ¶
func (t *GeeTest3Task) Result() any
type GetBalanceRequest ¶
type GetBalanceRequest struct{}
type GetBalanceResult ¶
type GetBalanceResult struct {
Balance string `json:"balance"`
}
type ImageToTextResult ¶
type ImageToTextResult struct {
Result string `json:"result"`
}
type ImageToTextTask ¶
func (*ImageToTextTask) Result ¶
func (t *ImageToTextTask) Result() any
type ReCaptcha2Result ¶
type ReCaptcha2Result struct {
Token string `json:"token"`
}
type ReCaptcha2Task ¶
type ReCaptcha2Task struct { SiteKey string `json:"siteKey"` PageUrl string `json:"pageUrl"` Proxy *string `json:"proxy,omitempty"` }
func (*ReCaptcha2Task) Result ¶
func (t *ReCaptcha2Task) Result() any
type TaskEntity ¶
type TaskUpdateEvent ¶
type TaskUpdateEvent TaskEntity
type TokenReissueEvent ¶
type TokenReissueEvent struct{}
type TurnstileResult ¶
type TurnstileResult struct {
Token string `json:"token"`
}
type TurnstileTask ¶
type TurnstileTask struct { SiteKey string `json:"siteKey"` PageUrl string `json:"pageUrl"` CData *string `json:"cData,omitempty"` Action *string `json:"action,omitempty"` Proxy *string `json:"proxy,omitempty"` }
func (*TurnstileTask) Result ¶
func (t *TurnstileTask) Result() any
Click to show internal directories.
Click to hide internal directories.