commands

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Concurrency

func Concurrency() *uint

Concurrency returns reference to conf.concurrency. Use with caution.

func GetCompilers

func GetCompilers() []string

GetCompilers returns a list with all valid compilers for upload

func NewCheck

func NewCheck() *check

NewCheck returns check object

func NewDownload

func NewDownload() *download

NewDownload returns download object

func NewTest

func NewTest() *test

NewTest returns test object

func NewUpload

func NewUpload() *upload

NewUpload returns upload object

func Regex

func Regex() **regexp.Regexp

Regex returns reference to conf.regex. Use with caution.

func SetConcurrency

func SetConcurrency(n uint)

SetConcurrency sets the number of concurrent goroutines that can be run at the same time

func SetPassword

func SetPassword(password string)

SetPassword sets password for login

func SetRegex

func SetRegex(regex string) (err error)

SetRegex sets the regex used to validate and extract problem codes from filenames

func SetUsername

func SetUsername(username string)

SetUsername sets username for login

func SetWorkDir

func SetWorkDir(dir string)

SetWorkDir sets the location where to download and check for problem files and the database

func WorkDir

func WorkDir() *string

WorkDir returns reference to conf.WorkDir. Use with caution.

Types

This section is empty.

Jump to

Keyboard shortcuts

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