client

package
v0.0.0-...-01ba2a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Atcoder

type Atcoder struct {
	// contains filtered or unexported fields
}

func NewAtcoder

func NewAtcoder() *Atcoder

func (*Atcoder) FetchSamples

func (a *Atcoder) FetchSamples(contest, task string) ([]*model.Sample, error)

func (*Atcoder) ListTasks

func (a *Atcoder) ListTasks(contest string) ([]string, error)

type Client

type Client interface {
	FetchSamples(contest, task string) ([]*model.Sample, error)
	ListTasks(contest string) ([]string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL