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)
Click to show internal directories.
Click to hide internal directories.