Documentation
¶
Index ¶
- type Contest
- type ContestArchive
- type ContestTask
- type Crawler
- func (c Crawler) DocumentGet(ctx context.Context, queries url.Valuer) (*goquery.Document, error)
- func (c Crawler) DocumentPost(ctx context.Context, queries, bodies url.Valuer) (*goquery.Document, error)
- func (c Crawler) Get(ctx context.Context, queries url.Valuer) (*http.Response, error)
- func (c Crawler) LoggedIn(ctx context.Context, doc *goquery.Document) bool
- func (c Crawler) Post(ctx context.Context, queries, bodies url.Valuer) (*http.Response, error)
- func (c *Crawler) WithClient(client *http.Client) *Crawler
- func (c *Crawler) WithPathParam(key, value string) *Crawler
- type Home
- type Login
- type Submit
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContestArchive ¶
type ContestArchive struct {
// contains filtered or unexported fields
}
func NewContestArchive ¶
func NewContestArchive(client *http.Client) *ContestArchive
func (*ContestArchive) Do ¶
func (c *ContestArchive) Do(ctx context.Context, req requests.ContestArchive) (*responses.ContestArchive, error)
type ContestTask ¶
type ContestTask struct {
// contains filtered or unexported fields
}
func NewContestTask ¶
func NewContestTask(client *http.Client) *ContestTask
func (*ContestTask) Do ¶
func (c *ContestTask) Do(ctx context.Context, req requests.ContestTask) (*responses.ContestTask, error)
type Crawler ¶
type Crawler struct { Path string // contains filtered or unexported fields }
func NewCrawler ¶
func (Crawler) DocumentGet ¶
func (Crawler) DocumentPost ¶
func (*Crawler) WithPathParam ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.