Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶ added in v1.0.0
func NewClient(params ClientParams) (*Client, error)
func (*Client) HTTPHandler ¶
type ClientParams ¶ added in v1.0.0
type ClientParams struct { Config Config `validate:"required"` Clock based.Clock `validate:"required_with=Config.Pingback"` Transport http.RoundTripper }
type YandexSmartCaptchaIn ¶
type YandexSmartCaptchaIn struct { SiteKey string `url:"sitekey" validate:"required"` PageURL string `url:"pageurl" validate:"required"` AccessControlAllowOrigin bool `url:"header_acao,omitempty"` UserAgent string `url:"userAgent,omitempty"` Proxy string `url:"proxy,omitempty"` ProxyType string `url:"proxytype,omitempty"` }
func (*YandexSmartCaptchaIn) Method ¶
func (in *YandexSmartCaptchaIn) Method() string
Click to show internal directories.
Click to hide internal directories.