JOJ3/internal/executor/all.go
张泊明518370910136 c3f7b0fa2b
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
submodules sync / sync (push) Has been cancelled
build / build (push) Has been cancelled
feat(executor/local): simple local executor without limits
2024-11-28 10:05:44 -05:00

16 lines
493 B
Go

package executors
import (
_ "github.com/joint-online-judge/JOJ3/internal/executor/dummy"
_ "github.com/joint-online-judge/JOJ3/internal/executor/local"
"github.com/joint-online-judge/JOJ3/internal/executor/sandbox"
)
// this file does nothing but imports to ensure all the init() functions
// in the subpackages are called
// overwrite the default registered executors
func InitWithConf(sandboxExecServer, sandboxToken string) {
sandbox.InitWithConf(sandboxExecServer, sandboxToken)
}