adapter

package
v0.0.0-...-2d6fe0c Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(adapter JudgeAdapter)

Types

type JudgeAdapter

type JudgeAdapter interface {
	Name() string
	Judge(ctx context.Context, config common.ProblemConfig, problemData string, solutionData string) error
}

func Get

func Get(name string) (JudgeAdapter, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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