api

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RegularParticipant   = models.RegularParticipant
	UpsolvingParticipant = models.UpsolvingParticipant
	ManagerParticipant   = models.ManagerParticipant
	ObserverParticipant  = models.ObserverParticipant
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*api.Client
}

func NewClient

func NewClient(endpoint string, options ...ClientOption) *Client

NewClient returns new solve API client.

type ClientOption

type ClientOption = api.ClientOption

func WithSessionCookie

func WithSessionCookie(value string) ClientOption

func WithTimeout

func WithTimeout(timeout time.Duration) ClientOption

func WithTransport

func WithTransport(transport *http.Transport) ClientOption

type Compiler

type Compiler = api.Compiler

type CompilerConfig added in v0.2.0

type CompilerConfig = models.CompilerConfig

type Compilers

type Compilers = api.Compilers

type Contest

type Contest = api.Contest

type ContestParticipant

type ContestParticipant = api.ContestParticipant

type ContestSolution

type ContestSolution = api.ContestSolution

type ContestSolutions

type ContestSolutions = api.ContestSolutions

type ContestStandings

type ContestStandings = api.ContestStandings

type CreateCompilerForm

type CreateCompilerForm = api.CreateCompilerForm

type CreateContestParticipantForm added in v0.1.3

type CreateContestParticipantForm = api.CreateContestParticipantForm

type CreateProblemForm

type CreateProblemForm = api.CreateProblemForm

type CreateSettingForm added in v0.1.2

type CreateSettingForm = api.CreateSettingForm

type FileReader

type FileReader = api.FileReader

type Problem

type Problem = api.Problem

type RegisterUserForm

type RegisterUserForm = api.RegisterUserForm

type Role

type Role = api.Role

type Roles

type Roles = api.Roles

type ScopeUser

type ScopeUser = api.ScopeUser

type ScopeUsers

type ScopeUsers = api.ScopeUsers

type Setting

type Setting = api.Setting

type Settings

type Settings = api.Settings

type Solution

type Solution = api.Solution

type SubmitSolutionForm

type SubmitSolutionForm = api.SubmitSolutionForm

type UpdateCompilerForm

type UpdateCompilerForm = api.UpdateCompilerForm

type UpdateProblemForm

type UpdateProblemForm = api.UpdateProblemForm

type UpdateSettingForm added in v0.1.2

type UpdateSettingForm = api.UpdateSettingForm

type User

type User = api.User

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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