Documentation ¶
Index ¶
Constants ¶
View Source
const ( XpathRazonSocial = "html body div div:nth-child(4)" XpathActivities = "html body div table tr" )
Variables ¶
View Source
var ErrCaptcha = errors.New("not found")
View Source
var ErrMaxCaptchaAttempts = errors.New("max captcha attempts reached")
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type CaptchaResp ¶
type CaptchaResp struct {
TxtCaptcha string `json:"txtCaptcha"`
}
func (CaptchaResp) MarshalEasyJSON ¶ added in v1.0.1
func (v CaptchaResp) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CaptchaResp) MarshalJSON ¶ added in v1.0.1
func (v CaptchaResp) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CaptchaResp) UnmarshalEasyJSON ¶ added in v1.0.1
func (v *CaptchaResp) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CaptchaResp) UnmarshalJSON ¶ added in v1.0.1
func (v *CaptchaResp) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Citizen ¶
type Citizen struct { Rut string `json:"rut"` Run string `json:"run"` Name string `json:"name"` Activities []CommercialActivity `json:"activities"` }
func (Citizen) MarshalEasyJSON ¶ added in v1.0.1
MarshalEasyJSON supports easyjson.Marshaler interface
func (Citizen) MarshalJSON ¶ added in v1.0.1
MarshalJSON supports json.Marshaler interface
func (*Citizen) UnmarshalEasyJSON ¶ added in v1.0.1
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Citizen) UnmarshalJSON ¶ added in v1.0.1
UnmarshalJSON supports json.Unmarshaler interface
type CommercialActivity ¶
func (CommercialActivity) MarshalEasyJSON ¶ added in v1.0.1
func (v CommercialActivity) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CommercialActivity) MarshalJSON ¶ added in v1.0.1
func (v CommercialActivity) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CommercialActivity) UnmarshalEasyJSON ¶ added in v1.0.1
func (v *CommercialActivity) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CommercialActivity) UnmarshalJSON ¶ added in v1.0.1
func (v *CommercialActivity) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.